Unity-Technologies / Animation-Instancing

This technique is designed to instance Characters(SkinnedMeshRender).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Problem

noman5412 opened this issue · comments

Sorry in advance if I ask any stupid question.
I simply followed the steps and instancing is working fine on editor with two exceptions at start exception
"Assertion failed"
"You should call LoadAnimationAssetBundle first."
This could be a reason of its not working on android as no object shows up when run on android.
These exceptions have been addressed before and simply aswered to build the asset bundle and then call LoadAnimationAssetBundle() which is a coroutine and already called in Start().
I have build the asset bundle and do everything accordingly but this error is not resolving so please elaborate how to resolve it

call it from monobeh script on start

path must be real path it was my Application.streamingAssetsPath + "/animationtexture"

also wait for loading the asset and the enable animation gameobject

[ContextMenu("LoadAB")]
private void LoadAB()
{
StartCoroutine(AnimationManager.GetInstance().LoadAnimationAssetBundle(Application.streamingAssetsPath + "/animationtexture"));
}