MixedRealityToolkit-Unity
MixedRealityToolkit-Unity copied to clipboard
Execution order conflict w/ proxlights
Describe the bug
The Cursor is not locked when selecting an interactable, the highlight moves, and the cursor jumps between the light and the selected point, if the user stops moving, the highlight and cursor reset to the selected point
To reproduce
- Enter any sample scene, Select and hold on to an interactable
- Move hands/controllers around depending on your setup, while still holding onto the selected point
- See issue, the cursor highlight moves around with the users movement
- The cursor also seems to move and jump between the highlighted point, and the initial cursor. For instance, other buttons, toggles, etc will have the outline as if they are being hovered, when the highlighted point is located at the same spot
Expected behavior
The cursor and cursor highlight stay put when selecting an object
Video
https://user-images.githubusercontent.com/110259320/186254386-229b9a59-34a1-4c79-8e10-b8102972c5d7.mp4
Your setup
- Unity Version 2020.3.37f1
- Commit Version a66dd4ed78c7f9d4495fe746cbb306d974f58d86
Target platform
- Quest 2
- HoloLens 2
Additional context
Could potentially be two issues, one with the highlight and one with the flickering, however the flickering seems to be related to where the 'fake cursor' highlight is at the time.
Known issue with the update order on the proxlights.
@RogPodge was this fixed by #10999 ?
Unfortunately it still jitters around, will try to tackle in a cursor rework PR.
Root caused this to be an issue with the Proximity Light script in MRGT and our workflow. Will raise a PR to that project to address.
Fixed with https://github.com/microsoft/MixedRealityToolkit-Unity/pull/11574