"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

Package Doesn't work

Hi felows!

 

I'm trying to make a Package with a Model Target, in order to send it to a colaborator. When I tryed to run it in a new project, it throws next new errors (in my "native" project, everything works well):

 

MAIN EXCEPTION (FOURTH) - It's reppetating continuously, since is part of an Update() function... 

Exception in callback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null. Parameter name: shader   at (wrapper managed-to-native) UnityEngine.Material:CreateWithShader (UnityEngine.Material,UnityEngine.Shader)   at UnityEngine.Material..ctor (UnityEngine.Shader shader) [0x00009] in C:\buildslave\unity\build\Runtime\Export\Shader.bindings.cs:104   at Vuforia.TextureRenderer..ctor (UnityEngine.Texture textureToRender, Int32 renderTextureLayer, Vec2I requestedTextureSize) [0x00000] in <filename unknown>:0   at Vuforia.WebCam.Update () [0x00000] in <filename unknown>:0   at Vuforia.WebCamARController.Update () [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.VuforiaBehaviour:Update()

 

FIRST EXCEPTION

ArgumentNullException: Argument cannot be null.

Parameter name: shader UnityEngine.Material..ctor (UnityEngine.Shader shader) (at C:/buildslave/unity/build/Runtime/Export/Shader.bindings.cs:104) Vuforia.BackgroundPlaneBehaviour.InitializeFromConfig (Vuforia.VideoBackgroundConfiguration videoBackgroundConfiguration) Vuforia.BackgroundPlaneBehaviour.Awake () UnityEngine.GameObject:AddComponent() Vuforia.VideoBackgroundBehaviour:CreateBackgroundPlane() Vuforia.VideoBackgroundBehaviour:Awake() UnityEngine.GameObject:AddComponent() Vuforia.VuforiaBehaviour:OnEnable()

 

SECOND

Could not load emulator database.

UnityEngine.Debug:LogError(Object) Vuforia.PositionalPlayModeDeviceTrackerImpl:SetupDebugTrackable() Vuforia.PositionalPlayModeDeviceTrackerImpl:StartDeviceTracker() Vuforia.PositionalPlayModeDeviceTrackerImpl:Start() Vuforia.ModelTargetBehaviour:OnVuforiaStarted() System.Delegate:DynamicInvoke(Object[]) Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[]) Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action) Vuforia.VuforiaARController:StartAfterInitializationCompleted() Vuforia.VuforiaARController:UpdateState(Boolean, Boolean) Vuforia.DigitalEyewearARController:Update() System.Delegate:DynamicInvoke(Object[]) Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[]) Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action) Vuforia.VuforiaBehaviour:Update()

 

THIRD

Exception in callback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null. Parameter name: shader   at (wrapper managed-to-native) UnityEngine.Material:CreateWithShader (UnityEngine.Material,UnityEngine.Shader)   at UnityEngine.Material..ctor (UnityEngine.Shader shader) [0x00009] in C:\buildslave\unity\build\Runtime\Export\Shader.bindings.cs:104   at Vuforia.TextureRenderer..ctor (UnityEngine.Texture textureToRender, Int32 renderTextureLayer, Vec2I requestedTextureSize) [0x00000] in <filename unknown>:0   at Vuforia.WebCam.Update () [0x00000] in <filename unknown>:0   at Vuforia.WebCamARController.Update () [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.VuforiaBehaviour:Update()