Search Issue Tracker
Fixed in 2018.1.X
Fixed in 5.6.X, 2017.1.X, 2017.2.X, 2017.3.X
Votes
41
Found in
2017.2.0b7
Issue ID
943438
Regression
Yes
Loading an asset that has an Animator component from an Asset Bundle with LoadAsync throws "Assertion failed" error
The project provided uses "Asset Bundle Browser" tool but it has anything to do with the bug
To reproduce:
1) Open the attached project "943438repro"
2) From the menu open Windows -> Asset Bundle Browser
3) Press "Build" to build the Asset Bundle
4) Open "AssetBundleTest.unity" scene
5) Enter play mode
6) On the GUI in the top right corner press "Load Bundle (Async)"
Result: "Assertion failed: Assertion failed on expression: 'Thread::CurrentThreadIsMainThread()" Error is thrown
Note: this can be reproduced without the "Asset Bundle Browser" tool
When using the "Asset Bundle Browser" tool and the script for loading the asset in the project some minor tweaking might be required depending on the platform it is being tested on
Reproducible on both Mac and Windows
Reproduced on: 2017.3.0a5, 2017.2.0b8
Regression introduced with: 2017.2.0b6
Not reproducible on: 2017.2.0b5 and earlier
5.6.3p2
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
ykykyk0525
Oct 09, 2017 01:00
async Fbx with anim from assetbundle,get the error:
Assertion failed: Assertion failed on expression: 'Thread::CurrentThreadIsMainThread()'
glitchbeam
Oct 04, 2017 16:00
If you remove the Animator, and just reference parts of the Animator in a script like the Animation Controller and Avatar... you will still receive these errors.