microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

UGUIInputAdapter NREs when the IMM disables the CanvasProxyInteractor #10872

Closed Zee2 closed 2 years ago

Zee2 commented 2 years ago

This issue has been migrated a new MRTK repository, and the status of this issue will now be tracked at the following location:


Describe the bug

10838 made the IMM disable the CanvasProxyInteractor in some circumstances. This broke the UGUIInputAdapter, as it would NRE whenever the hands were visible :(

To reproduce

Steps to reproduce the behavior:

  1. Make sim hands visible
  2. Mouse over buttons
  3. Observe NRE spam

Expected behavior

No NRE spam.

Zee2 commented 2 years ago

Fixed!