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.
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
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:)
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.
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…
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. ^^