Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2020.3.X, 2021.2.X

Votes

3

Found in

2019.4

2020.3

2020.3.3f1

2021.1

2021.2

Issue ID

1333402

Regression

No

Crash on UnloadAssetBundle when exiting Play Mode after recompiling scripts

Asset Bundles

-

Reproduction steps:
1. Open the user's attached project
2. Open scene "StFall1"
3. Enter Play Mode
4. Open any script, edit it and go back to the editor
5. Continuously exit and enter Play Mode (usually takes less than 5 tries)
-- observe crash

Reproducible with: 2020.3.9f1, 2021.1.8f1, 2021.2.0a17
Could not test with: 2019.4.27f1, 2018.4.35f1 (package errors)

Note:
- Reproducible with Visual Studio 2019, Visual Studio Code, Rider
- After editing a script "Unexpected: object already in ms_IDToPointer map." error appears
- Issue does not seem to be reproducible without recompiling scripts

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a13

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.2f1

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.22f1

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.