"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Sample Error: Exception in callback

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:

[quote]

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()

[/quote]

How I could fix that issue?


Hello formavip,

tarun2000

Mon, 10/16/2017 - 05:26

I'm facing the same issue after trying to update a project from Unity 5.5.1. I removed the original Vuforia folder and tried to import the one provided in Unity.

Are you trying to upgrade your project to be used in 2017.2 tarun2000? If so, I recommend checking out this guide: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/migrate-vuforia-62-to-65.html

Thanks,

Hello Vuforia team,

I am also doing the migration and getting the same error as stated below. Migration works fine on iOS device but failing on Android. 

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.