Unity 5.4 can't disable Auto Refresh

I really don’t like the auto refresh of unity and I always disable it.

I update to Unity 5.4 but now I have it forced enabled with a warning:
“Auto Refresh must be set when using Collaboration feature.”

I don’t have the Service “Collaborate” enabled, so what else should I do to disabled it?

That’s no good. I’ve poked the collaboration team to figure out why this is happening.

2 Likes

@mcmorry Super excited shawn was able to ping us! This is a known bug and a fix is ready to be merged. :smile: Watch for release/fixes to roll out soon over in the Collaborate section of the forums

1 Like

I also keep the auto refresh feature disabled, as I frequently alt-tab from VS to Unity to check values or names and don’t want to have to wait for the compilation every time. Most times the code won’t even compile, as I’m currently editing it, so having Unity trying to compile it will break custom inspectors.

As a temporary fix, if you’re on Windows, run regedit and open this path:
HKEY_CURRENT_USER\SOFTWARE\Unity Technologies\Unity Editor 5.x

Now, locate a DWORD key that beings with kAutoRefresh and change it to 0

If you’re on the MAC, I imagine a similar named property will exist in ~/Library/Preferences/com.unity3d.UnityEditor.plist, but I don’t have a MAC to test.

Remember to close Unity before doing those changes, to avoid them being reset.

Best of luck!

2 Likes

Thank you very much!

On Mac the file is ~/Library/Preferences/com.unity3d.UnityEditor5.x.plist

2 Likes

Oh this seems like a good opportunity for me to plug my editor pref browser. So you don’t need to mess around with the registry yourself.

2 Likes

Thanks for reporting back!
One thing to keep in mind (that I forgot to mention): Unity will reset the key back to 1 when you make any change to its preferences, so you’ll have to do it again.

Nice! Thanks for sharing!

1 Like

Awesome workaround @SugoiDev !!!

1 Like

Is this still really the recommended solution? I don’t like the idea of having to trick Unity into doing the right thing by fiddling with the Windows registry. I’m running Unity 5.4.2 and I still can’t disable auto-refresh from the Unity editor.

Hi @Arcanor
Are you currently using Collaborate?

No. All options on the Services panel are Off.

1 Like

After doing some research the fix for this was never backported to 5.4 but instead went straight to 5.5. I have a pr out to get it into the next patch and will ping back here when its approved.

so sorry for the delay @Arcanor

1 Like

Fix is also in 5.4.3p2

1 Like

The issue seems to have reappeared - I’m getting it on Unity 2019.4.28f1 (LTS) after updating my Unity Hub to the version 3 beta:

1 Like

This is happening in 2020.3, can you fix this

  • Close Unity

  • Open Regedit

  • Then go to : HKEY_CURRENT_USER\SOFTWARE\Unity Technologies\Unity Editor 5.x

  • Find the value : kAutoRefresh and set it to 0

nope, it didn’t help,

bump

bump

This works with Plastic SCM.

how about in linux?