KeyNotFoundException: The given key 'XR Origin' was not present in the dictionary.

Out of nothing I get this error.

KeyNotFoundException: The given key 'XR Origin' was not present in the dictionary.
at System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) [0x00000] in <00000000000000000000000000000000>:0
at ImageRecognitionManager.AssignGameObject (UnityEngine.XR.ARFoundation.ARTrackedImage trackedImage) [0x00000] in <00000000000000000000000000000000>:0
at ImageRecognitionManager.UpdateARImage (UnityEngine.XR.ARFoundation.ARTrackedImage trackedImage) [0x00000] in <00000000000000000000000000000000>:0
at ImageRecognitionManager.OnImageChanged (UnityEngine.XR.ARFoundation.ARTrackedImagesChangedEventArgs eventArgs) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.XR.ARFoundation.ARTrackedImageManager.OnTrackablesChanged (System.Collections.Generic.List
1[T] added, System.Collections.Generic.List1[T] updated, System.Collections.Generic.List1[T] removed) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.XR.ARFoundation.ARTrackableManager`5[TSubsystem,TSubsystemDescriptor,TProvider,TSessionRelativeData,TTrackable].Update () [0x00000] in <00000000000000000000000000000000>:0

ImageRecognitionManager is not our code. You should contact the author of that class?