What happened?
If avatar depends on other gameobject asset ( model prefab or any asset that counts as GameObject ) and path to this asset sorts before export target __TempExport.prefab,
eg Assets/[ < Assets/_, then BuildAssetBundles() will order it before target prefab in a bundle manifest,
which results in loading of wrong object by
|
var prefab = bundle.LoadAllAssets<GameObject>().FirstOrDefault(); |
Steps to Reproduce
- Import model asset to a directory like
Assets/[]/ or name it like !.fbx and place it in Assets: Assets/!.fbx
- Instantiate model prefab and make changes
- Export
- Import to ME and observe that original model prefab is loaded instead
App Version
2.1.4
Store Edition
GitHub Edition
Confirmation
What happened?
If avatar depends on other gameobject asset ( model prefab or any asset that counts as GameObject ) and path to this asset sorts before export target
__TempExport.prefab,eg
Assets/[<Assets/_, thenBuildAssetBundles()will order it before target prefab in a bundle manifest,which results in loading of wrong object by
Mate-Engine/Assets/MATE ENGINE - Scripts/VRMLoader/VRMLoader.cs
Line 228 in 2c5ea6b
Steps to Reproduce
Assets/[]/or name it like!.fbxand place it in Assets:Assets/!.fbxApp Version
2.1.4
Store Edition
GitHub Edition
Confirmation