Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X

Votes

0

Found in

2020.2.1f1

2021.1.0a6

2021.1.0a9

Issue ID

1298007

Regression

Yes

Crash when Exiting Play mode with Multiple scenes loaded

Scene Management

-

Reproduction steps:
1. Open user attached Project
2. Open "Assets/Main" scene
3. Add AurimasUIScene and BaseWithPlayerController into Main scene additively
4. Enter Play mode
5. Exit Play mode
6. If a crash doesn't occur, disable any game objects in the scenes and go to step nr. 4

Expected: Unity doesn't crash
Actual: Unity crashes on exiting Play mode

Reproducible with: 2021.1.0a6, 2021.1.0a10, 2020.2.2f1, 2020.2.1f1
Not reproducible with: 2020.1.17f1, 2020.2.0f1, 2021.1.0a5
Could not test with: 2018.4, 2019.4 (Compiler errors)

Notes: Logs point to DestroyWorldObjects function as the cause
Reproduces on both Mac and Windows

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a8

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.25f1

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.