Search Issue Tracker
In Progress
Fixed in 2022.3.29f1, 6000.0.2f1
Fix In Review for 2021.3.X
Votes
13
Found in
2021.3.33f1
2022.3.15f1
2023.2.4f1
2023.3.0a18
Issue ID
UUM-59177
Regression
No
Player crashes on "DebugStringToFilePostprocessedStacktrace" when exiting and an Exception is thrown with Cloud Diagnostics activated
Reproduction steps:
1. Open the attached "ReproProj" project
2. Open "Assets/Scenes/SampleScene"
3. Go to "Edit" -> "Project Settings" -> "Services", press on the “New link” button, and connect to an organization
4. In the Project Settings, go to "Services" -> "Cloud Diagnostics" and turn on Cloud Diagnostics
5. Build and Run Player
6. Press on the "Quit" button
7. Observe the results
Expected results: Player does not crash and exits properly
Actual results: Player crashes
Reproducible with: 2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a18
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
First few lines of the Stacktrace:
0x00007FFC6DF3F8B1 (UnityPlayer) DebugStringToFilePostprocessedStacktrace
0x00007FFC6DF3FC37 (UnityPlayer) DebugStringToFile
0x00007FFC6DAE2310 (UnityPlayer) UnityWebRequest::UnityWebRequest
0x00007FFC6DB5CAF9 (UnityPlayer) CrashReporting::CrashReporter::SendReport
0x00007FFC6DB5AF48 (UnityPlayer) CrashReporting::CrashReporter::HandleLog
Notes:
- Reproducible in a new project
- Commenting out the Exception in the OnDestroy() method stops the Player from crashing
-
Alan-Liu
Jan 19, 2024 02:59
Related forum thread and a workaround: https://forum.unity.com/threads/crash-debugstringtofilepostprocessedstacktrace.1523512/#post-9513493
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RenderBufferManager::Textures::GetTempBuffer when rendering a specific scene
- The Inspector header is incorrectly displayed when scripts are recompiled while a Scriptable Object instance is selected
- NullReferenceException is thrown when overriding the UxmlObjectReferences in template instances
- Shaders created with Shader Graph generate a large amount of shader variants and cause slow build times when using a baked lightmap in BIRP
- Shader Graph Matrix property produces random output values when SRP Batcher is enabled
Resolution Note (fix version 6000.0.2f1):
Crash reports would attempt to use UnityWebRequest in situations where it may be unavailable - this is now fixed.
Resolution Note (fix version 2022.3.29f1):
Crash reports would attempt to use UnityWebRequest in situations where it may be unavailable - this is now fixed.
Resolution Note (fix version 2021.3):
Crash reports would attempt to use UnityWebRequest in situations where it may be unavailable - this is now fixed.