Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.3.X, 2020.1.X
Votes
0
Found in
2018.4
2018.4.8f1
2019.1
2019.2
2019.3
2020.1
Issue ID
1181323
Regression
No
"AssetBundle.LoadAsset" race condition with "AssetBundle.Unload"
Reproduction steps:
1. Open "AssetLoadSample2018LTS.zip" project
2. "Expansion" -> "Build AssetBundleData"
3. Build & Run (More noticeable on Android)
4. Spam press "Load loop 10"
Expected Result: "Destroying assets is not permitted to avoid data loss."
Actual Result: "AsyncUploadManager: Failed to close file. Ensure all async operations are complete before unloading bundles."
Reproduced with: 2020.1.0a6, 2019.3.0b4, 2019.2.6f1, 2018.4.9f1, 2017.4.32f1
Rare repro as the race condition doesn't always happen
Reproduces with: IL2CPP and Mono
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
- [WebGL] ExposedReference<Transform>.Resolve() is not generated correctly in WebGL
- Resizing Profiler Module Details panel and releasing mouse button outside Unity doesn't cancel resize
- "Auto-hide gizmos" preference is not saved when reopening the project
- Sampling a custom depth texture on a machine with a GTX 1080 makes object's textures display the wrong color when in Play mode or Player
- Terrain is missing the Hidden/TerrainEngine/Details/WavingDoublePass shader when AssetBundles are built in older Unity Versions
Resolution Note (fix version 2020.2):
Fixed in Versions: 2018.4.24f1, 2020.1.0b9, 2020.2.0a1