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
- 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 2020.2):
Fixed in Versions: 2018.4.24f1, 2020.1.0b9, 2020.2.0a1