Unity doesn't reset after update in script

Hello! I found only old thread about this problem and it’s solution to Edit → Preferences → Auto Refresh.
didn’t help me at all (because I had it checked from start).

After I change something in my script, then switch to unity, unity shows small gear on right corner (as it’s registered change in script), but script change doesn’t get applied until I manually click on script on object and click “Reset”.

It even uses old variable values (unless I delete that variable, in that case it tells me that it doesn’t exist, yet it still shows in Unity GUI with old value).


Currently using 2019.2.13f1 Personal

Alternatively, you can look at some of the solutions here: https://forum.unity.com/threads/script-changes-dont-compile.486287/