Need Help With Vuforia - AR Camera working in editor but not when built to android

Things to note:


1. The AR Support is enabled under player settings, 2. In the picture with the AR camera, i removed the app licencee to take the picture and then put it back


Hello Everyone. I am currently having a problem in unity where the AR camera is working in the editor but isn’t picking up the image targets when built to android. I know this is the case, as i have a GUI which appears whenever the ‘DefaultTrakableEventHandler’ script picks up a trackable target. I have no idea what is the problem. I created the auto focus script to make sure it was nothing to do with camera on my phone however that didnt help the problem.


I decided to rebuild the key components on another project and that worked fine. It found the target, showed the model and GUI. However, when i integrated that with the rest of the project again, it didn’t want to work. If anyone has any ideas ill be happy.



(Licenses is there however i took it out to take a picture of the config)

What version of vuforia is it?

Use Vector3.MoveTowards instead of Vector2.MoveTowards.

2 Answers

2

check whether ur phone can support AR feature or not

My phone works with AR. I built the the basic foundation on a separate unity project and that worked fine. The app worked with the AR camera and the UI and model appeared. It only stopped working when i introduced the rest of the app with the vuforia setup. I also tested the app on another mobile device and it didnt work on that even

@VisionElf The enemy still only moves away from the player

Bumping the post