Unity/Vuforia Cloud Reco example not working in Unity 2018
After updating my project from Unity 2017.1.1.f1 to Unity 2018.1.0b4, the Cloud Reco example scene doesn't work anymore. I have narrowed down the error to the following line in the CloudRecoEventHandler script:
ImageTargetBehaviour imageTargetBehaviour = m_ObjectTracker.TargetFinder.EnableTracking(targetSearchResult, m_ImageTargetTemplate.gameObject) as ImageTargetBehaviour;
The error I'm getting is an "object reference not set to instance of object", however m_ObjectTracker, targetSearchResult, and m_ImageTargetTemplate all return a value when I Debug.Log them. I'm building to Android (specifically to a Razer Phone with Android 7.1.1). The result is that the AR object does get spawned, but it's stuck to the camera instead of being attached to the marker.
Anyone know what's causing this and how to fix it?
Your answer
Follow this Question
Related Questions
Unity and Vuforia on Android: Could Not Load Video from OBB 1 Answer
Camera display when using it to build and run in android 0 Answers
Android Vuforia dosen't download the asset bundle form a server 0 Answers
Application crashes on start - HTC M8s running Android 6.0.1 1 Answer
Is SAMSUNG GALAXY J7 Prime is compatible with unity ar applications? 0 Answers