Log in or register to post comments

Groundplane breaking upon android build

August 15, 2018 - 1:08pm #1

So I can use the groundplane during unity test with my webcam and the printed plane tracker but the moment I build out to Android the groundplane function ceases to work. When I go back and test in unity I get this error:

Positional Device Tracker is not available.

UnityEngine.Debug:LogError(Object)

Vuforia.ContentPositioningBehaviour: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()

Exception in callback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object

  at Vuforia.PlaymodeSmartTerrainImpl.FindGroundPlaneImageTarget () [0x00000] in <filename unknown>:0

  at Vuforia.PlaymodeSmartTerrainImpl.get_GroundPlaneImageTarget () [0x00000] in <filename unknown>:0

  at Vuforia.PlaymodeSmartTerrainImpl.CreateEmulatorGroundPlane () [0x00000] in <filename unknown>:0

  at Vuforia.PlaymodeSmartTerrainImpl.StartSmartTerrain () [0x00000] in <filename unknown>:0

  at Vuforia.PlaymodeSmartTerrainImpl.Start () [0x00000] in <filename unknown>:0

  at Vuforia.PlaneFinderBehaviour.StartSmartTerrain () [0x00000] in <filename unknown>:0

  at Vuforia.PlaneFinderBehaviour.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: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()

 

I'm not sure what's happening. I've tried redoing the vuforia behaviour component.

Groundplane breaking upon android build

August 16, 2018 - 12:19pm #4

Hello,

Hard to say what the issue is here. All I can recommend at this time is to take our Core Sample and try to run it on the same device. If that fails, please let us know and we will try and replicate.

Thanks,

Vuforia Engine Support

Groundplane breaking upon android build

August 16, 2018 - 6:19am #3

Hi, I'm using a pixel 2 but it breaks even on the computer after I press build. Am I not putting in the correct player settings?

 

 

AttachmentSize
Image icon Capture.JPG204.08 KB

Groundplane breaking upon android build

August 15, 2018 - 2:05pm #2

Hello,

This error looks like it could be related to your device not supporting the Ground Plane feature. Please review this page for details:

https://library.vuforia.com/articles/Solution/vuforia-fusion-supported-devices.html

Thanks,

Vuforia Engine Support

Log in or register to post comments