Hello,
I'm programming my android app right now and having some issues. It starts with a qr scan and the following switch enters the various functions. So the different functions are supposed to start with showing a guide view of a model target so it can continue with the AR application. The Model Target is a regular GameObject.
So far I've tried using the SetActive(), Awake(), GetActiveGuideViewIndex(),GetGuideView(), SetActiveGuideViewIndex() methodes to make it show up but it didn't work so far. Either it's not showing anything (except the text that it recognized the correct switch) or the methods aren't usable because I'm missing a using directive. So far I'm using these ones(eventhough some aren't used):
using System; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; using TBEasyWebCam; using Vuforia; using System.Linq; using UnityEditor; using Vuforia.EditorClasses;
I also thought about using different layers and position the model targets on those and just calling up the layer in the function. But I haven't figured out how to do that so far.
Any advice what I'm missing or suggestion what strategy to continue?
Thank you!
Hi,
Hi,
If I understand the issue correctly, you are trying to start model targets via code however when you do that, you don't see the Guide View appearing.
The first thing I would check is the license, could you please confirm the type of license you are using for MT?