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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1