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
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
Add comment