Hi there,
Lately I’ve found that I cannot build my game into an .exe to test with.
After pressing [Build] and selecting where to save the executable, the build process hangs somewhere in between and never recovers. It usually freezes when it is “Building level X” but has (just now, actually) also frozen on the “Building Resources Folder” stage. In order to use Unity again, I’ll actually have to end the process.
The target platform is Windows, x86. Development build, autoconnect profiler and script debugging are all disabled.
Restarting the computer does not solve the problem. Other than Unity, no code or asset editors are open, though we are using Git which sometimes have background processes running that can interfere with a build. TGitCache.exe can cause a build to freeze, though it recovers when killing that process, but in this case it isn’t running.
Building with more or fewer levels can improve it’s odds of finishing. An empty level will build in under a minute.
Why did this start happening? Does anyone else have experience with Unity not being able to build out of the blue? Does Git have anything to do with it? What solved the problem?
Thanks!