MixedRealityToolkit / MixedRealityToolkit-Unity

This repository holds the third generation of the Mixed Reality Toolkit for Unity. The latest version of the MRTK can be found here.
BSD 3-Clause "New" or "Revised" License
411 stars 111 forks source link

[pre.11] Quest 2 Controller visualization does not re-appear after switching from hand controls to the motion controllers #370

Closed IssueSyncBot closed 1 year ago

IssueSyncBot commented 1 year ago

Original issue opened by:

@Clandguth Clandguth


Describe the bug

A clear and concise description of what the bug is.

To reproduce

Expected behavior

Controller visualization re-appears when switching from hand controls to motion controllers

Your setup

Target platform

Additional Context

Differing behavior on Oculus link compared to being built. On link, defaults to generic controller model and gives warning:

Failed to obtain controller model key from platform. UnityEngine.Debug:LogWarning (object) Microsoft.MixedReality.Toolkit.Input.ControllerModelLoader/d1:MoveNext () (at C:/Users/v-clandguth/MixedRealityToolkit-Unity/com.microsoft.mrtk.input/Visualizers/ControllerVisualizer/ControllerModelLoader.cs:48) System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start<Microsoft.MixedReality.Toolkit.Input.ControllerModelLoader/d1> (Microsoft.MixedReality.Toolkit.Input.ControllerModelLoader/d1&) Microsoft.MixedReality.Toolkit.Input.ControllerModelLoader:TryGenerateControllerModelFromPlatformSDK (Microsoft.MixedReality.Toolkit.Handedness) Microsoft.MixedReality.Toolkit.Input.ControllerVisualizer/d17:MoveNext () (at C:/Users/v-clandguth/MixedRealityToolkit-Unity/com.microsoft.mrtk.input/Visualizers/ControllerVisualizer/ControllerVisualizer.cs:153) System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<Microsoft.MixedReality.Toolkit.Input.ControllerVisualizer/d17> (Microsoft.MixedReality.Toolkit.Input.ControllerVisualizer/d17&) Microsoft.MixedReality.Toolkit.Input.ControllerVisualizer:InstantiateControllerVisuals (bool,bool) Microsoft.MixedReality.Toolkit.Input.ControllerVisualizer:RenderControllerVisuals (UnityEngine.InputSystem.InputDevice) (at C:/Users/v-clandguth/MixedRealityToolkit-Unity/com.microsoft.mrtk.input/Visualizers/ControllerVisualizer/ControllerVisualizer.cs:118) Microsoft.MixedReality.Toolkit.Input.ControllerVisualizer:RenderControllerVisuals (UnityEngine.InputSystem.InputAction/CallbackContext) (at C:/Users/v-clandguth/MixedRealityToolkit-Unity/com.microsoft.mrtk.input/Visualizers/ControllerVisualizer/ControllerVisualizer.cs:91) UnityEngine.InputSystem.LowLevel.NativeInputRuntime/<>cDisplayClass7_0:b0 (UnityEngineInternal.Input.NativeInputUpdateType,UnityEngineInternal.Input.NativeInputEventBuffer*) UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate (UnityEngineInternal.Input.NativeInputUpdateType,intptr)


ISSUE MIGRATION

Issue migrated from: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/10978

IssueSyncBot commented 1 year ago

Original comment by:

@Clandguth Clandguth


Issue was not able to be reproduced since