Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
2
Question by 3j- · Aug 08, 2012 at 01:08 AM · editorcompiling

Unity stopped compiling automatically

All of the sudden, Unity stopped automatically compiling my scripts. I tried uninstalling and reinstalling Unity. I tried deleting and re-syncing the entire project. Nothing works, any code changes I make aren't getting reflected in the editor. It must be some kind of settings problem because automatic code compilation works on my other computer. "Auto Refresh" is checked in my settings.

Comment
Add comment · Show 2
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 jhave · Oct 22, 2012 at 09:29 AM 0
Share

I have exactly the same problem.

Preferences : Auto-Refresh is ON.

Scripts are saved in $$anonymous$$ono but will not refresh in Unity. ALT+TAB does not work.

I have to quit Unity then restart it to see changes. Very frustrating impossible workflow.

avatar image Jesdisciple · Nov 30, 2013 at 04:47 AM 0
Share

Thanks for mentioning Auto Refresh; I didn't want it and was looking for "Compile."

5 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by VisionPunk · Oct 10, 2012 at 11:21 AM

This problem can be caused if you have enabled meta files in Project Settings, but have set the file attribute to "Hidden" on the meta files. Unity just stops refreshing, but will refresh fine if you open a project that doesn't use meta files, or if you unhide the meta files.

Comment
Add comment · 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
4

Answer by 3j- · Aug 08, 2012 at 01:09 AM

Found a solution. Turn off "Auto Refresh" in preferences. Close Unity. Re-open unity. Turn "Auto Refresh" back on.

Edit: nevermind, it broke again almost immediately

Comment
Add comment · Show 3 · 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 ScroodgeM · Aug 08, 2012 at 09:58 PM 0
Share
  • does refresh doesn't work only for script or for any asset in project folder?

  • try to re-enable autorefresh to get working auto-refreshing, and after it brokes again instantly check editor log (button in console) - try to find something about this error

avatar image Screenhog · Aug 08, 2012 at 10:51 PM 0
Share

Does anything useful happen if you Alt+Tab out of Unity and then Alt+Tab back into it? I know for quite awhile, for me to see any code changes take place reliably, I had to leave the program and come back into it.

avatar image danilonishimura · Dec 13, 2013 at 06:30 PM 0
Share

This solved my problem. Thanks! I deleted the EditorPrefs because I thought it was meant to store exclusively user editor stuff, not stuff from the Unity application itself.

avatar image
2

Answer by CoderBruce · Oct 22, 2015 at 08:15 AM

I met this problem too, and I found It's because of meta files, I added some files from other project with their meta files, so I delete their meta files and reimport, problem solved:)

Comment
Add comment · Show 2 · 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 dog_funtom · Jul 16, 2017 at 11:32 PM 0
Share

Worked for me, thanks! Don't overdo it though. I deleted all the *.meta files because couldn't remember what folders I copy-pasted with "alien" meta-files. And I regretted it — it completely broke all the links in the scene and prefabs.

avatar image michaelday008 · Jul 16, 2019 at 09:21 PM 0
Share

Wow, I spent a few hours on this and your solution finally worked for me. That error message is highly misleading as there is actually nothing wrong with the timeline dll.

avatar image
1

Answer by Cha Kyung Woon · Mar 11, 2014 at 07:48 AM

Firstly. Under stand my Languadge skill. my english is not good. becouse im korean , anyway Also i have the same problem as you, so i was finding answer this problem in internet, But unfortunately i didn't find.. and than i find some repetitively feature in problem. it is the ScriptName! if you make Script name that "Main" or "MainManager" Uinty doesn't automaticaly compile , but if you change your script name, No problem! ^^. than good luck. ^^

Comment
Add comment · Show 2 · 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 danilonishimura · Mar 11, 2014 at 07:24 PM 0
Share

Not true at all. I have some scripts named $$anonymous$$ainSomething on my project and it compiles normally.

avatar image phloxicin · Jan 30, 2015 at 11:31 AM 0
Share

This actually worked for me :D I had a file called $$anonymous$$ain.cs and renamed it and the entity in my hierarchy to Entry (just any old name) and suddenly everything syncs again. Thank you very much!

avatar image
0

Answer by Maxii · Aug 25, 2013 at 01:01 PM

Anyone found a solution to this? 'Refresh' used to work for me, then Reimport and Refresh. Now I have to reimport, refresh AND shutdown/restart inorder to get a reliable recompiled state...

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 Maxii · Dec 13, 2013 at 07:15 PM 0
Share

I finally turned auto-reimport off as it wasn't reliable. I now just do a manual reimport which is reliable.

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

19 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

Related Questions

Editor-populated Hashtables are reset on a sneeze. 1 Answer

Internal compiler error! 1 Answer

C# dll "MissingMethodException" - Before first recompile 1 Answer

How can I wait for Unity to recompile during the execution of an editor script? 6 Answers

[Solved] Scripts compiling very slow 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