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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1