Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

I set active a GroundPlane GameObject in unity, a Exception occor. Anyone can help me ?

Discussion in 'Vuforia' started by cb5151, Sep 15, 2018.

  1. cb5151

    cb5151

    Joined:
    Sep 13, 2018
    Posts:
    1
    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 () [0x0005c] in <b73c5d39058d4abbae39c445b8d96b4b>:0
    at Vuforia.PlaymodeSmartTerrainImpl.get_GroundPlaneImageTarget () [0x00000] in <b73c5d39058d4abbae39c445b8d96b4b>:0
    at Vuforia.PlaymodeSmartTerrainImpl.CreateEmulatorGroundPlane () [0x0004e] in <b73c5d39058d4abbae39c445b8d96b4b>:0
    at Vuforia.PlaymodeSmartTerrainImpl.StartSmartTerrain () [0x0000a] in <b73c5d39058d4abbae39c445b8d96b4b>:0
    at Vuforia.PlaymodeSmartTerrainImpl.Start () [0x00008] in <b73c5d39058d4abbae39c445b8d96b4b>:0
    at Vuforia.PlaneFinderBehaviour.StartSmartTerrain () [0x00025] in <b73c5d39058d4abbae39c445b8d96b4b>:0
    at Vuforia.PlaneFinderBehaviour.OnVuforiaStarted () [0x00000] in <b73c5d39058d4abbae39c445b8d96b4b>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <e1a80661d61443feb3dbdaac88eeb776>:0
    --- End of inner exception stack trace ---
    at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <e1a80661d61443feb3dbdaac88eeb776>:0
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
    at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <e1a80661d61443feb3dbdaac88eeb776>:0
    at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <e1a80661d61443feb3dbdaac88eeb776>:0
    at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
    at Vuforia.DelegateHelper.InvokeDelegate (System.Delegate action, System.Object[] args) [0x0000f] in <b73c5d39058d4abbae39c445b8d96b4b>:0
    UnityEngine.Debug:LogError(Object)
    Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    Vuforia.VuforiaARController:Start()
    System.Delegate:DynamicInvoke(Object[])
    Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    Vuforia.VuforiaBehaviour:Start()
     
  2. ThreeCubz

    ThreeCubz

    Joined:
    Oct 14, 2018
    Posts:
    1
    Hey, have you found the solution?