Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.65f1

6000.3.3f1

6000.4.0b3

6000.5.0a4

Issue ID

UUM-131346

Regression

No

Crash on Scene_CUSTOM_GetPathInternal when exiting play mode while listening to "EditorSceneManager.sceneClosed" and printing open scenes

Scene Management

-

How to reproduce:
1. Open the attached “IN-128353” project
2. Open the “SampleScene” (Assets > Scenes > SampleScene)
3. Drag the “SampleSceneExtra” from the Assets (Assets > Scenes > SampleSceneExtra) into the Hierarchy
4. Enter Play mode
5. Exit Play mode
6. Observe the crash

Reproducible with: 2023.1.0a10, 6000.0.65f1, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Notes:
- Sometimes the crash will occur when entering Play mode
- Remove and re-add the “SampleSceneExtra” if testing with the same project
- If the crash does not reproduce the first time, remove and re-add the “SampleSceneExtra” and start from step 4

First few lines of the stack trace:
0x00007FFA50ABDFB3 (Unity) Scene_CUSTOM_GetPathInternal
0x0000024567640308 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.SceneManagement.Scene:GetPathInternal_Injected (UnityEngine.SceneManagement.SceneHandle&,UnityEngine.Bindings.ManagedSpanWrapper&)
0x0000024567640093 (Mono JIT Code) UnityEngine.SceneManagement.Scene:GetPathInternal (UnityEngine.SceneManagement.SceneHandle)
0x000002456226FF53 (Mono JIT Code) UnityEngine.SceneManagement.Scene:get_path ()

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.