- Home /
Can Unity 3.1 be configured to watch scripts and recompile immediately, like Unity 2.6?
In Unity 2.6, as soon as I saved a script, Unity would recompile it. With 3.1, I have to give focus back to the Editor. Can this be changed?
Not a big deal, but it slows down my workflow slightly, and means I can't stay in my text editor and just glance over at Unity to see if my newly saved changes compiled ok.
(Not sure if this is any way related to Andrej's concern about compile times.)
Answer by Eric5h5 · Jan 11, 2011 at 11:09 PM
It still works that way here. Make sure "auto refresh" in the preferences is on.
Good call, but no, auto-refresh is definitely on. I tried toggling the setting, and the setting works, but the auto-refresh doesn't happen unless the Unity Editor has focus. I'm using version 3.1.0f4 (55865), running under Windows 7. Auto-refresh worked perfectly in 2.6.1 (without Unity requiring focus).
In that case it could be a Windows-specific issue; I'm on OS X.
Seems to be a Windows thing. Still happening in 3.5.2, oh well.
Your answer
![](https://koobas.hobune.stream/wayback/20220613095023im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Temp Project Folder In Ramdisk Error 0 Answers
System.UnauthorizedAccessException to Temp dll.mdb when running project 0 Answers
Start uncompiled application with parameters (in Editor) 1 Answer
What is unity4 for AssetDatabase.GetAllAssetPaths? 1 Answer
Compiler error with MySQL connection in Unity 3 (System.Drawing) 2 Answers