Search Issue Tracker
Fixed
Votes
0
Found in
6000.0.42f1
6000.1.0b10
6000.2.0a6
Issue ID
UUM-99669
Regression
No
Crash on Scripting::SetCachedPtrOnScriptingWrapper(ScriptingObjectPtr, Object*) when exiting a project
Reproduction steps:
1. Open the attached “repro_IN-95846“ project
2. In the macOS Dock, press the right mouse button on the Unity logo and select “Quit“
3. Observe the crash
Reproducible with: 6000.0.42f1, 6000.1.0b10, 6000.2.0a6
Couldn’t test with: 2022.3.60f1 - Unresolvable downgrade errors with the “Unity Transport” package
Reproducible on: macOS Sequoia 15.3 (M2 Ultra), macOS Sequoia 15.3.1 (M4 Pro) (user’s)
Not reproducible on: Windows 11 (23H2)
First few lines of the stack trace:
#0 0x000001052fb610 in Scripting::SetCachedPtrOnScriptingWrapper(ScriptingObjectPtr, Object)
#1 0x00000104b23be4 in delete_object_internal_step1(Object)
#2 0x00000104b22dc0 in delete_object_internal(Object*)
#3 0x00000104eef44c in CleanupAllObjects()
#4 0x00000104eefaf0 in CleanupEngine()
#5 0x000001060c1cec in Application::CoreShutdown()
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-97648