Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

AR Core - Augmented image - Prefab animation when clicking a UI button

Discussion in 'AR' started by unity_SxBeLmCDpWwY-Q, Jun 23, 2019.

  1. unity_SxBeLmCDpWwY-Q


    Jun 23, 2019
    Hi Guys,

    This is my first post, I'm not usually posting on forum but I'm kind of stuck here.

    First of all, I'm no programmer so I have limited knowledge in C#, I know the basics but that's it. I've spent the last 2 days researching for an answer to no avail. I'm pretty much sure the answer is pretty easy but I can't figure it out myself.

    Ok what I'm trying to do is triggering the prefab's animations with UI button press. It's working fine when testing on a non-ARCore scene with the button but it isn't when booting the Android app. Based on my researches, the problem seems to be related to the fact that the AugmentedImageVisualizer is creating an instance of the prefab which doesn't contained the animations. Is this something easy to fix?

    I'm a t-shirt designer, having fun with Augmented reality so I don't plan on learning complex coding ;P, but I'm willing to learn and put some effort on it.

    Any helpful info to guide me will be welcome?

    Thanks a lot.