Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Background Compilation not working in Unity 2020

Discussion in 'Scripting' started by Rajdeep100, Apr 10, 2021.

  1. Rajdeep100

    Rajdeep100

    Joined:
    Sep 11, 2018
    Posts:
    9
    Unity Editor 2020.3.0f1 Personal is not compiling scripts in background with, I am using Visual Studio 2019 as IDE.

    The background compilation works file in Unity Editor 2019.

    Is this a bug or have I did something wrong??
     
  2. Saeed-Barari

    Saeed-Barari

    Joined:
    Jul 12, 2021
    Posts:
    53
    was this ever resolved?
     
  3. Kelvynlee

    Kelvynlee

    Joined:
    Oct 11, 2019
    Posts:
    5
    For those who are having the problem of having disabled automatic updating, but when trying to activate it again, it didn't work. Here what I did and it worked:
    Go to the registry editor and in the default path:

    HKEY_CURRENT_USER > Software >Unity Technologies

    search for
    EditorPrefs.SetInt("kAutoRefresh", 1);

    if the value is 0, change it to 1... this damn player pref....
     
    Saeed-Barari likes this.