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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment