Rigged Hand Visualizer gives an Error
Opened this issue · 0 comments
wilcoboode commented
With the default setup, the following error appears when the Rigged Hand Visualizer is adderd to the scene.
NullReferenceException: Object reference not set to an instance of an object
Microsoft.MixedReality.Toolkit.Input.RiggedHandVisualizer.Microsoft.MixedReality.Toolkit.Input.IMixedRealityHandJointHandler.OnHandJointsUpdated (Microsoft.MixedReality.Toolkit.Input.InputEventData`1[T] eventData) (at Assets/MRTK/SDK/Features/UX/Scripts/RiggedHandVisualizer/RiggedHandVisualizer.cs:321)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem+<>c.<.cctor>b__244_44 (Microsoft.MixedReality.Toolkit.Input.IMixedRealityHandJointHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at Assets/MRTK/Services/InputSystem/MixedRealityInputSystem.cs:1969)
Microsoft.MixedReality.Toolkit.BaseEventSystem.HandleEvent[T] (UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] eventHandler) (at Assets/MRTK/Core/Services/BaseEventSystem.cs:118)
UnityEngine.Debug:LogException(Exception)
Microsoft.MixedReality.Toolkit.BaseEventSystem:HandleEvent(BaseEventData, EventFunction`1) (at Assets/MRTK/Core/Services/BaseEventSystem.cs:122)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem:DispatchEventToGlobalListeners(BaseInputEventData, EventFunction`1) (at Assets/MRTK/Services/InputSystem/MixedRealityInputSystem.cs:600)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem:HandleEvent(BaseEventData, EventFunction`1) (at Assets/MRTK/Services/InputSystem/MixedRealityInputSystem.cs:448)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem:RaiseHandJointsUpdated(IMixedRealityInputSource, Handedness, IDictionary`2) (at Assets/MRTK/Services/InputSystem/MixedRealityInputSystem.cs:1982)
Microsoft.MixedReality.Toolkit.Input.ArticulatedHandDefinition:UpdateHandJoints(Dictionary`2) (at Assets/MRTK/Core/Definitions/Devices/ArticulatedHandDefinition.cs:224)
ARFukuoka.MixedReality.Toolkit.Nreal.Input.NrealController:UpdateState() (at Assets/Nreal/Scripts/NrealController.cs:169)
ARFukuoka.MixedReality.Toolkit.Nreal.Input.NrealDeviceManager:Update() (at Assets/Nreal/Scripts/NrealDeviceManager.cs:171)
Microsoft.MixedReality.Toolkit.BaseDataProviderAccessCoreSystem:Update() (at Assets/MRTK/Core/Services/BaseDataProviderAccessCoreSystem.cs:51)
Microsoft.MixedReality.Toolkit.<>c:<UpdateAllServices>b__72_0(IMixedRealityService) (at Assets/MRTK/Core/Services/MixedRealityToolkit.cs:1054)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1) (at Assets/MRTK/Core/Services/MixedRealityToolkit.cs:1145)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:UpdateAllServices() (at Assets/MRTK/Core/Services/MixedRealityToolkit.cs:1054)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Update() (at Assets/MRTK/Core/Services/MixedRealityToolkit.cs:727)