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

Scene Management

-

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()

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a1

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.