Log in or register to post comments

IOS 11 support

September 25, 2017 - 2:16pm #1

Unity 5.5

Vuforia 2.6.2

iPhone 7 Plus (using metal)

After updating to iOS 11 the app I am working no longer works. It will build and run for a few seconds before getting this error message:

Exception in callback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException:

  at UnityEngine.Behaviour.get_enabled () [0x00000] in <filename unknown>:0

  at Vuforia.StateManagerImpl.UpdateTrackablePoses (UnityEngine.Transform arCameraTransform, .TrackableResultData[] trackableResultDataArray, .VuMarkTargetResultData[] vuMarkResultDataArray, TrackableIdPair originTrackableID, Int32 frameIndex) [0x00000] in <filename unknown>:0

  at Vuforia.VuforiaManagerImpl.UpdateTrackers (FrameState frameState) [0x00000] in <filename unknown>:0

  at Vuforia.VuforiaManagerImpl.Update (ScreenOrientation counterRotation, Boolean reapplyOldState) [0x00000] in <filename unknown>:0

  at Vuforia.VuforiaARController.UpdateStatePrivate (Boolean forceUpdate, Boolean reapplyOldState) [0x00000] in <filename unknown>:0

  at Vuforia.VuforiaARController.UpdateState (Boolean forceUpdate, Boolean reapplyOldState) [0x00000] in <filename unknown>:0

  at Vuforia.DigitalEyewearARController.Update () [0x00000] in <filename unknown>:0

  at System.Reflection.MonoMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Exception& exc) [0x00000] in <filename unknown>:0

  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

  at System.AppDomain.add_UnhandledException (System.UnhandledExceptionEventHandler value) [0x00000] in <filename unknown>:0

  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0

  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0

  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0

  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0

  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0

  at Vuforia.DelegateHelper.InvokeDelegate (System.Delegate action, System.Object[] args) [0x00000] in <filename unknown>:0

  at Vuforia.DelegateHelper.InvokeWithExceptionHandling (System.Action action) [0x00000] in <filename unknown>:0

  at Vuforia.VuforiaAbstractBehaviour.Update () [0x00000] in <filename unknown>:0

  --- End of inner exception stack trace ---

  at DTValidator.Internal.GameObjectExtensions+<GetChildren>c__Iterator0.System.Collections.Generic.IEnumerator<UnityEngine.GameObject>.get_Current () [0x00000] in <filename unknown>:0

  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

  at System.AppDomain.add_UnhandledException (System.UnhandledExceptionEventHandler value) [0x00000] in <filename unknown>:0

  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0

  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0

  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0

  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0

  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0

  at Vuforia.DelegateHelper.InvokeDelegate (System.Delegate action, System.Object[] args) [0x00000] in <filename unknown>:0

  at Vuforia.DelegateHelper.InvokeWithExceptionHandling (System.Action action) [0x00000] in <filename unknown>:0

  at Vuforia.VuforiaAbstractBehaviour.Update () [0x00000] in <filename unknown>:0

UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)

UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])

UnityEngine.Debug:LogException(Exception)

UnityEngine.Logger:Log(LogType, Object)

System.Collections.ObjectModel.Collection`1:Remove(T)

UnityEngine.Debug:LogError(Object)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])

Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)

Vuforia.VuforiaAbstractBehaviour:Update()

 

I figured maybe this issue has something to do with the DTValidator.Internal.GameObjectExtensions+ line but even after deleting that plugin entirely (as it wasn't used in the app at all really) I got the same error but the lines after "--- End of inner exception stack trace ---" refereed to another script that hasn't been changed (using Google Analytics) since well before the iOS 11 update. Is anyone else having this issue and/or know of a way to fix this issue. This doesn't seem to be an issue with other iPhones as some colleuges can run the device on iOS 11 but on iPhone 6.

Log in or register to post comments