We set our project up with Assembly Definitions. But now the assemblies reload whenever a script is saved, rather than when Unity gains focus. Is there a way to only recompile scripts when Unity gains focus while using assembly definitions? We’re in 2022.2.14
Thank you
This is probably a setting in your code editor, as Unity doesn’t compile in the background on saves afaik.
If you’re using Rider, you want to turn off this:
There’s probably similar settings in Visual Studio and VS Code.
3 Likes
Yup, that was it. Thank you!