Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.14f1
Issue ID
1378176
Regression
No
Crash on StageUtility::IsGameObjectInInvalidPrefabStage(GameObject&) when exiting Play mode
Reproduction steps:
1. Open the user's attached project
2. Enter and exit Play mode
Expected result: The Editor exits Play mode without issues
Actual result: The Editor crashes
Reproducible with: 2019.4.33f1, 2020.3.23f1
Not reproducible with: 2021.1.0a1, 2021.2.3f1, 2022.1.0a15
Stacktrace:
#0 0x000001129d526e in StageUtility::IsGameObjectInInvalidPrefabStage(GameObject&)
#1 0x0000010fe0c34a in UI::Canvas::UpdateCanvasRectTransform(bool)
#2 0x0000010fde8bda in UI::InitializeCanvasManager()::EarlyUpdateUpdateCanvasRectTransformRegistrator::Forward()
#3 0x00000110d18056 in ExecutePlayerLoop(NativePlayerLoopSystem)
#4 0x00000110d18013 in ExecutePlayerLoop(NativePlayerLoopSystem)
#5 0x00000110d18385 in PlayerLoop()
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1