I have a hybrid app that runs google cardboard VR and vuforia AR, its a year old and a few versions down the road.
I have an intermittent problem when going from our main menu to AR on my iphone, the AR camera will turn off and i see just the grey background.the AR object still works though, but there is no camera feed.
the strange thing is, sometimes I can go menu > AR > back again like 7 times before the error will show up, other times just 2 times will do it.
Ive googled and lots of people have similar errors but I couldnt pin anything down
best
Tom
Exception in callback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (.TKey key, .TValue value) [0x00000] in <filename unknown>:0 at Vuforia.StateManager.UpdateTrackablePoses (Vector3 positionalOffset, Quaternion rotationalOffset, .TrackableResultData[] trackableResultDataArray, .VuMarkTargetResultData[] vuMarkResultDataArray, TrackableIdPair originTrackableID, Int32 frameIndex, Boolean updateTrackableStates) [0x00000] in <filename unknown>:0 at Vuforia.VuforiaManager.UpdateTrackers (FrameState frameState) [0x00000] in <filename unknown>:0 at Vuforia.VuforiaManager.Update (ScreenOrientation counterRotation, Boolean& reapplyOldState) [0x00000] in <filename unknown>:0 at Vuforia.VuforiaARController.UpdateStatePrivate (Boolean forceUpdate, Boolean reapplyOldState) [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 Vuforia.DelegateHelper.InvokeDelegate (System.Delegate action, System.Object[] args) [0x00000] in <filename unknown>:0 --- 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) [0x00000] in <filename unknown>:0 at Vuforia.DelegateHelper.InvokeDelegate (System.Delegate action, System.Object[] args) [0x00000] in <filename unknown>:0 Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
Sometimes takes 2,3,7 tries to reproduce
heres a screenshot it should
heres a screenshot it should be showing my camera view where the grey stuff is
I was using version 8 already
I was using version 8 already, but I noticed 8.1.7 so I upgraded to that
then that threw some new console errors that were mismatches between my old sample scene files and the latest 8.1.7 sample scene
I did a bit of hacking around with these files
Hello,
Hello,
A strange error that I do not recall as being reported before. I, too, hope it is resolved in Vuforia Engine SDK 8.1.
If not, please provide a repro project for us to evaluate.
Thanks,
Vuforia Engine Support