Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
-3
Question by tylerjayatkinson · Apr 16, 2018 at 06:35 PM · compile errors

Why the f**k do i have compile errors for no reason? Why do I have Compile errors when All of my scripts have no errors?

999+ errors showing on the console and when I click one, it leads me to one of my scripts. It says I have 0 errors in all of them so what the hell does this mean? Only happened when I was making a health bar system and everything before worked perfectly. I cant figure out why just now it happened. But nothing red shows and it still says 0 errors. :(

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TreyH · Apr 16, 2018 at 07:52 PM 0
Share

Can you post a screenshot of your log?

avatar image Glurth · Apr 16, 2018 at 08:32 PM 0
Share

Feel your frustration. Hope you backed-up before you made changes. I've encountered situations like this before when some unity script is generating an error. In this case, it will show the line in $$anonymous$$Y script that invoked the unity function. In nearly all cases, so far, the error generated by the unity script, was because I had provided some incorrect data somewhere. $$anonymous$$gest using Debug.Log to confirm the runtime data and execution path.

avatar image shadowpuppet · Apr 16, 2018 at 08:53 PM 0
Share

are they actual errors ( the red stop sign) or the yellow yield sign ones? or even the cartoon bubble with a "!" in it? A screen grab would help a lot. Sometimes a yellow one is just telling you declare a variable you never use. The cartoon bubble could just be where a script says something like "print (hit.collider.gameObject.name);" for raycast and sometimes red could be also from a raycast that is sending a message to something you hit but has no receiver. Again, more info like a screen grab of the messages would help

avatar image sean244 · Apr 16, 2018 at 10:29 PM 0
Share

Well how about posting the actual error so we can help you?

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by Bunny83 · Apr 16, 2018 at 07:07 PM

If you have 999+ errors they are most likely not compiler errors but runtime errors. If you have compiler errors you won't be able to even start your game. Runtime errors are either logical errors in yours scripts or just missing references. Logic errors can't be detected by the compiler since the compiler has no idea about what you actually want to do.


This question is way to abstract to get a clear answer since you did not mention a single error in your description.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image NonsenseSynapse · Apr 16, 2018 at 10:47 PM 1
Share

Going off of this, you may want to look into your update loops. If you are seeing an error pop up 999+ times, it's likely because the error is being hit in every Update or FixedUpdate call.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

82 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Compile Error in XCode with Unity SplashScreenController/UnityViewControllerBase for IOS build 0 Answers

Unity 4.3.4 iOS Warnings - iAD and Asset Catalog 0 Answers

add two compile instruction into "smcs.rsp",lead to internal compile error! 2 Answers

im having a compile error 0 Answers

Cannot implicitly convert type UnityEngine.MeshRenderer to UnityEngine.Material. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges