2021.3.38f1 doesn't recompile on script define changes

Hi.

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

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.

1 Like