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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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