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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-97648