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

UnityUI won't receive input from the user during a session (Intermittent) #7663

Closed DanCRichards closed 3 years ago

DanCRichards commented 4 years ago

Describe the bug

When a user attempts to interact with UnityUI elements on an MRTK Canvas they are unable to perform the actions expected from Buttons, Dropdowns, Text inputs, etc.

To reproduce

Steps to reproduce the behaviour:

  1. User A performs a build and runs the application
  2. User A interacts with a UnityUI object. It works!
  3. User A gives a .zip containing the package installer to another User (B)
  4. User B installs and runs the application.
  5. User B is unable to interact with UnityUI objects.
  6. User B can restart his machine (potentially more than once)
  7. User B is able to interact with UnityUI objects.
  8. User A restarts his machine.
  9. User a is unable to interact with UnityUI objects.

Steps to temporarily fix the problem:

Separate detail of problem working

  1. When a User has a machine that is proven not to work
  2. Leave the application running overnight.
  3. In the morning, attempt to use the UnityUI objects.
  4. It works!

Separate detail of problem working

  1. When a User has a machine that is proven not to work
  2. Close the application, do something else whilst observing social distancing rules 😷
  3. Go for a walk from being locked inside all-day 🚶
  4. Start the application without having rebooted your machine
  5. It works! 💯

Expected behaviour

Interacting with UnityUI objects should work regardless of rebooting your machine, having observed social distancing and going for a walk and restarting your controllers.

Screenshots

image Image showing the Canvas

Your setup (please complete the following information)

image

Target platform (please complete the following information)

Additional context

david-c-kline commented 4 years ago

From slack, re: the hand interaction example.

When the application first runs, the UnityUI elements cannot be interacted with, the highlight state cannot be activated when 'hovering' over buttons. How ever! I pressed the 'Open Edge Browser' button.... I closed the edge browser and now the UnityUI elements work!

stale[bot] commented 4 years ago

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

stale[bot] commented 3 years ago

This issue has been closed by an automated process because it is stale. If this is still an issue please add a new comment with more recent details and repro steps.