Log in or register to post comments

Exception in callback: System.Reflection.TargetInvocationException:

April 12, 2019 - 3:16pm #4

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

Exception in callback: System.Reflection.TargetInvocationException:

April 12, 2019 - 3:20pm #3

heres a screenshot it should be showing my camera view where the grey stuff is

AttachmentSize
Image icon image.png1.24 MB

Exception in callback: System.Reflection.TargetInvocationException:

April 14, 2019 - 2:24pm #2

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

then I ran my scene 20 times in a row and it worked. on friday 7 times was the maximum I needed to reproduce this intermittent bug so Im thinking this might be solved now

fingers crossed! (hate intermittent bugs that occur even when you keep the factors to reproduce super consistent!)

Exception in callback: System.Reflection.TargetInvocationException:

April 15, 2019 - 12:51pm #1

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

Log in or register to post comments