InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

[XR] Redefining an input device that uses XRSDK managed providers requires an editor reboot

Open jackpr-unity opened this issue 8 years ago • 5 comments

Steps to reproduce:

  • Open the attached project in 18.3.0a9
  • Open the single scene in the project
  • Open the input debugger
  • press play
  • In the input debugger, expand and observe the definition of "MyInputDrivenDevice"
  • exit playmode
  • Open Packages/MyInputProvider/Runtime/MyInputProvider.cs
  • Change the device role or add/remove a control feature
  • press play again
  • In the input debugger, expand and observe the definition of "MyInputDrivenDevice"

Expected: The input debugger shows the new device definition

Observed: The input debugger shows the initial device definition until the editor is rebooted. This slows down iteration time, and Tom says he has been meaning to remove the way the system currently caches XR device definitions.

jackpr-unity avatar Aug 30 '18 20:08 jackpr-unity

https://github.cds.internal.unity3d.com/jackpr/xr.mockinputprovider

jackpr-unity avatar Jan 07 '19 17:01 jackpr-unity

@StayTalm Is the issue specific to the XR side or is this a core issue with the layout stuff?

Rene-Damm avatar Jan 15 '19 18:01 Rene-Damm

This is XR only, and is fixed in https://github.com/Unity-Technologies/InputSystem/pull/378

StayTalm avatar Jan 15 '19 19:01 StayTalm

Is it fixed in #378? It's not on the list of bugs that PR fixed.

jackpr-unity avatar Jan 22 '19 20:01 jackpr-unity

@jackpr-unity if this still repro, please file it into the FogBugz. Thanks!

JiaUnity avatar Mar 20 '19 01:03 JiaUnity