Hi guys,
I am trying to work with Cloud Recognition on Unity (2017.2.0b11) but is not going well.
I got the Sample Project, put my Access Keys and License Key, but it's returning the following error:
Exception in callback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.EntryPointNotFoundException: nativeUnity_SetDeviceConnected
at (wrapper managed-to-native) Vuforia.VuforiaNativeWrapper:nativeUnity_SetDeviceConnected (bool)
at Vuforia.VuforiaNativeWrapper.NativeUnity_SetDeviceConnected (Boolean connected) [0x00000] in <filename unknown>:0
at Vuforia.MonoCameraConfiguration.Init () [0x00000] in <filename unknown>:0
at Vuforia.DigitalEyewearARController.ConfigureView () [0x00000] in <filename unknown>:0
at Vuforia.DigitalEyewearARController.OnVuforiaStarted () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000b9] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Delegate.cs:443
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MulticastDelegate.cs:71
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Delegate.cs:415
at Vuforia.DelegateHelper.InvokeDelegate (System.Delegate action, System.Object[] args) [0x00000] in <filename unknown>:0
UnityEngine.Debug:LogError(Object)
Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.VuforiaARController:Start()
System.Delegate:DynamicInvoke(Object[])
Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.VuforiaBehaviour:Start()
How I could fix that issue?
I migrated from Unity 5.6 to Unity 2017.3. I had the same error, the problem was I only removed the lib files and I didn't remove all the plugin files in the Assets/Plugins folder related to Vuforia (search "vuforia" in your assets) before importing the new Vuforia. So make a backup, delete all the lib files AS WELL as the plugin files. Then in 2017.3 just go to GameObject -> Vuforia -> ARCamera which will import the new Vuforia. Enable the AR in playersetting and everything works for me from here. It takes me two days to boil it down to this, so stay patient!