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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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