Search Issue Tracker

Fixed

Fixed in 2022.3.13f1, 2023.1.19f1, 2023.2.0b15, 2023.3.0a12

Votes

0

Found in

2022.3.11f1

2023.1.16f1

2023.2.0b13

2023.3.0a9

Issue ID

UUM-53145

Regression

Yes

Crash on RuntimeSceneManager::UnloadAllScenesWithoutDestroyingGameObjects when exiting Play Mode

--

-

Reproduction steps:
1. Open the attached "crash_55977.zip" project
2. Open the “Dungeon“ Scene
3. Enter the Play Mode
4. Exit the Play Mode
5. Observe the crash

Reproduced with: 2022.3.5f1, 2022.3.11f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a9
Not reproduced with: 2021.3.31f1, 2022.3.4f1

Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested

First few stack frames:
0x00007ff68cb6797a (Unity) RuntimeSceneManager::UnloadAllScenesWithoutDestroyingGameObjects
0x00007ff68cb3d6df (Unity) LoadSceneOperation::CompleteAwakeSequence
0x00007ff68cb3e4e0 (Unity) LoadSceneOperation::CompletePreloadManagerLoadSceneEditor
0x00007ff68cb3f1ce (Unity) LoadSceneOperation::IntegrateMainThread
0x00007ff68cb427ce (Unity) PreloadManager::UpdatePreloadingSingleStep

Notes:

* Not reproducible in Player
* If you resolve the build errors, build the project, then enter the Play Mode and exit it, the Editor freezes on the Application.ExitPlayMode

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.