Log in or register to post comments

Xcode 9 Support

October 2, 2017 - 1:25pm #1

I posted an issue previously about iOS 11 and vitoria not working. Ive recently tested my app on an iPad with iOS 10.2 and it still did not work. 

Here are the versions of apps I'm using

Unity - 5.5.1f1

Xcode 9.0(9A235)

Vuforia - 6.2.6


Here is the error:

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>:


Vuforia is loaded into a scene that persists through out the app while other scenes are loaded in and out. When a new scene is loaded in and the old scene is unloaded is when the app breaks on device. This issue does not occur in Editor.

Xcode 9 Support

October 18, 2017 - 3:48pm #4

Hi BennyOKC91,

Were you migrating a project from Unity 5.6 to Unity 2017.2?


-Vuforia Support

Xcode 9 Support

October 16, 2017 - 6:27pm #3

Hey Strasza,

I am still unable to get a build for iOS 11 with Vuforia 6.5 in Unity 2017.2 to Xcode 9 to work. On my last build, I got 474 Buildtime issues (mostly depreciations but also a lot of "code will never be executed") and 4 Runtime issues stemming from "UI API called from background thread" with solutions like  "-[UIApplication delegate] must be used from main thread only."

My scenes run fine in Unity using my webcam but the build on my iPhone doesn't recognize any targets. 

*Update- I got a basic scene working so it was a problem with the project I migrated, not the technology stack. Having to start my main project over from scratch isn't fun but at least it's going to be better this time.

Xcode 9 Support

October 12, 2017 - 11:52am #2

Hello DeltaOhio,

iOS 11 is support with Vuforia 6.5 in Unity 2017.2.


-Vuforia Support

Log in or register to post comments