Unity Issue Tracker - AssetBundle.LoadFromFileAsync causes errors when bundles are built using DisableWriteTypeTree [Document/add error message]
Fixed
UUM-660
AssetBundle.LoadFromFileAsync causes errors when bundles are built using DisableWriteTypeTree [Document/add error message]
Unity: Asset Bundles
Being Backported
Open
2022.1.X
2021.2.X
2020.3.X
2019.4.X
Fixed
2023.2.X
2023.1.X
2022.2.X
2021.3.X
Added error message when loading bundle without typetrees in the Editor
How to reproduce:
1. Open the user’s attached project
2. Open scene Scenes/SampleScene
3. Go to Tools -> Build Asset Bundles
4. Press the Play button and go to the Game view
5. Press the “Button” and observe the Console
Expected result: no errors are thrown
Actual result: errors are thrown: “Assertion failed on expression: ‘CurrentThread::IsMainThread()’“, “ObjectCreationLock(Write) must be taken and only on main thread”