Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Issue loading prefab

Discussion in 'Editor & General Support' started by nafasso, Oct 17, 2014.

  1. nafasso

    nafasso

    Joined:
    Dec 3, 2013
    Posts:
    22
    Hi everyone,

    I am trying to load animated and not animated models from an assetbundle in an AR application for Android.
    I can load every models on its corresponding target, animated or not it works.
    BUT :
    to control each model, there is a boxCollider component and a ModelBehavior add to each object.
    The problem is that for non animated models everything works fine but for my animated asset, I got this :
    Code (CSharp):
    1. 10-17 11:44:17.343: I/Unity(29035):   at TagTrackableEventHandler+<loadModelAsync>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0
    and it stop my coroutine so I don't have the components used to control the model attached to it.
    I don't understand what does it means but as I told you it stops my coroutine in charge of the loading of the models. The rest of the program works fine just this part is bothering me because I don't understand what this message means and which error it is pointing at.
    Please help me.
    Thanks