Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
Issue ID
1183865
Regression
No
[InputSystem x XR Plugin] Pathed controls to CommonUsages bound to an ActionMap cause errors
Steps to Reproduce:
- Download the attached project (don't open it yet!)
- Get the com.unity.inputsystem package from https://github.com/StayTalm/InputSystem branch XR-Layout-Removal hash 4e9f157fe9bad6228f7560ad21b7f2f4cad25ddb
- Get the xr.sdk.oculus package from https://github.cds.internal.unity3d.com/unity/xr.sdk.oculus branch Fixes-For-ISX hash 6b03f8902b401939e3545b1b296563a7513ff0ec
- Set up the manifest to point at these local packages
- Set up an Oculus Rift or Rift S
- Open the SampleScene
- Press play
Expected:
No errors in the console.
Observed:
Errors, noted below.
I think what's happening is: the profiles aren't reported by the Oculus XR plugin until it starts out, and so the pathing encounters a null or empty something somewhere. If you remove the pathed controls from the action map the errors go away. The Action map is located at Assets/Input/PlayerControls.inputactions.
This is likely a core InputSystem problem, but I'm told they don't have XR stuff over there so this probably falls on the XR team to debug.
Many errors of these formats:
(1)
Usage entry is empty
UnityEngine.InputSystem.InputManager:OnNativeDeviceDiscovered(Int32, String)
UnityEngineInternal.Input.NativeInputSystem:NotifyDeviceDiscovered(Int32, String)
(2)
Usage entry is empty
UnityEngine.InputSystem.XR.XRController:FinishSetup()
Unity.XR.Oculus.Input.OculusTouchController:FinishSetup() (at D:/Git/xr.sdk.oculus/com.unity.xr.oculus/Runtime/InputSystem/DeviceLayouts.cs:108)
UnityEngine.InputSystem.InputManager:OnNativeDeviceDiscovered(Int32, String)
UnityEngineInternal.Input.NativeInputSystem:NotifyDeviceDiscovered(Int32, String)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Add comment