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
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
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 2022.1):
Fixed in 2022.1.0a13
Resolution Note (fix version 2021.2):
Fixed in 2021.2.2f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.22f1