Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug 2021.3.38f1 doesn't recompile on script define changes

Discussion in 'Editor & General Support' started by Kiwiownage, May 10, 2024.

  1. Kiwiownage


    Mar 26, 2014

    Currently in the process of upgrading 2019 -> 2021. The first 2021 version we landed on had the "Web requests now take 5x longer" issue. So we upgraded minor versions again.

    Now whenever we change script defines in our tooling the editor doesn't recompile. We have to reboot the entire editor for the changes to take effect. Obviously Jenkins really doesn't like this.

    Is this a known issue? Feel like im just playing unity LTS version bingo at this point
  2. CodeSmile


    Apr 10, 2014
    Try confirming this in an empty project. If it happens there, report a bug.

    It could be Asset refresh being disabled. Rather than restart the editor, do a right click in the project view and choose Refresh. Does it compile now? If so, check for the asset auto refresh setting and any script that may disallow auto refresh or uses Start/StopAssetEditing without enclosing it in try/finally.
    Kiwiownage likes this.