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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
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