Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Crash after build, how to debug?

$
0
0
I have a program that runs fine in the Editor, but crashes after build and play with after a brief window with an exclamation mark. ![unity crash screenshot][1] After producing a debug build, I can see the stack trace, which indicates it might be an error with serialization/loading a scene. Is there a way to find out using the minidump or other techniques which object is being loaded/causing this fault? I've tried removing many objects from the scene, removing scripts from objects etc, but no luck. I looked into tools like windbg but quickly got lost. Unity Version: 2019.3.0f3 (issue persists in 2020 beta too) Stack Trace of Crashed Thread 21512: 0x63D2F1C5 (UnityPlayer) DebugStringToFilePostprocessedStacktrace 0x63D2ECF6 (UnityPlayer) DebugStringToFile 0x63469395 (UnityPlayer) CachedReader::OutOfBoundsError 0x6346AFA2 (UnityPlayer) CachedReader::UpdateReadCache 0x62A35EAF (UnityPlayer) StreamedBinaryRead::Transfer>> 0x636CDB92 (UnityPlayer) TransferField_NonArray 0x636DC0A3 (UnityPlayer) Transfer_String 0x62ABFE05 (UnityPlayer) ExecuteSerializationCommands 0x636DB719 (UnityPlayer) Transfer_ManagedObject 0x62ABFE05 (UnityPlayer) ExecuteSerializationCommands 0x636D1126 (UnityPlayer) TransferScriptingObject 0x636D11AE (UnityPlayer) TransferScriptingObject 0x636E15E3 (UnityPlayer) SerializableManagedRefTransfer::TransferEngineAndMonoInstance 0x636E28D8 (UnityPlayer) SerializableManagedRefTransfer::Transfer 0x636ACE47 (UnityPlayer) MonoBehaviour::VirtualRedirectTransfer 0x636F7C35 (UnityPlayer) SerializedFile::ReadObject 0x636EB7BC (UnityPlayer) PersistentManager::ReadAndActivateObjectThreaded 0x636EA0E6 (UnityPlayer) PersistentManager::LoadFileCompletelyThreaded 0x63439384 (UnityPlayer) LoadSceneOperation::Perform 0x63439C94 (UnityPlayer) PreloadManager::ProcessSingleOperation 0x63439F96 (UnityPlayer) PreloadManager::Run 0x635F8FB8 (UnityPlayer) Thread::RunThreadWrapper 0x76F16359 (KERNEL32) BaseThreadInitThunk 0x773A7C14 (ntdll) RtlGetAppContainerNamedObjectPath 0x773A7BE4 (ntdll) RtlGetAppContainerNamedObjectPath [link text][2] [1]: /storage/temp/158360-unitycrash.jpg [2]: /storage/temp/158361-unity-crash-logs.zip

Viewing all articles
Browse latest Browse all 2383

Trending Articles