- Home /
Editor crashes after build on any platform
We've had this problem for a while, hoping it would get fixed in an update, but no luck. We've dragged it since the first Unity 5 until now 5.1.1p2.
Everytime I build, on iOS, Android, Windows, WebGL, or Webplayer (Which is what we're targetting) the editor crashes after the build is complete. The build is usually fine, but it's very annoying that Unity always disappears like that. It occurs both on OSX and Windows, on all the computers of our developers.
Here's the editor log Stacktrace
========== OUTPUTING STACK TRACE ==================
000000014037DBF9 (Unity) BuildScriptClassId
0000000140385195 (Unity) FindOrCreateMonoScriptCache
0000000140376B26 (Unity) MonoBehaviour::SetupScriptingCache
000000014037944C (Unity) MonoBehaviour::RebuildMonoInstance
00000001405529F5 (Unity) MonoManager::RemoveBehavioursFromManager
0000000140554279 (Unity) MonoManager::EndReloadAssembly
0000000140556052 (Unity) MonoManager::ReloadAssembly
00000001408C1A0A (Unity) ReloadAllUsedAssemblies
0000000140D2920A (Unity) Application::LoadSceneInternal
0000000140D2B3B9 (Unity) Application::EnterPlayMode
0000000140D2BC33 (Unity) Application::SetIsPlaying
0000000140D320C5 (Unity) Application::TickTimer
0000000140E44774 (Unity) RelaunchUnity
0000000140E45D6B (Unity) WinMain
00000001414D68E0 (Unity) strerror_s
0000000076C859CD (kernel32) BaseThreadInitThunk
0000000076EBB981 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
This is where it actually crashes, it's alwas right after an error that says "did not release all crashes".
ReleaseAllScriptCaches did not release all script caches!
(Filename: C:/buildslave/unity/build/Runtime/Mono/MonoManager.cpp Line: 1427)
Remaining caches:
Assembly-CSharp-Editor:GitMerge:Resources
Crash!!!
Answer by joonturbo · Jun 30, 2015 at 08:31 AM
turns out it was actually GitMerge causing the issue (as the crash log indicated), just missed it earlier.