MixedRealityToolkit-Unity
MixedRealityToolkit-Unity copied to clipboard
Dwell Example - Button looses "glow" after first dwell
Describe the bug
Button looses its "glow" after dwell.
To reproduce
Steps to reproduce the behavior:
- Open
DwellExample - Notice all buttons have the typical "glow" from
QuadDwellVisual(see (1) in screenshot) - Start dwell at one of the buttons (complete or cancel)
- Discover that the button has lost its glow (see (2) in screenshot )
Expected behavior
Buttons keep their glow OR Buttons don't have the glow at startup. In short: All buttons look the same when state is DwellStateType.None
Screenshots

Your setup (please complete the following information)
- Unity Version 2020.3.37f1
- MRTK Version 2.8.3
Target platform (please complete the following information)
- HoloLens 2
A related problem is, that when dwellIntended is invoked, the visual of the Button is changed by the DwellIntended method in ToggleDwellPressableButton.cs . But if focus is lost before dwellStarted, the visuals never get changed back to "normal state". IMHO this makes no sense.
Seems related to #11367
@marlenaklein-msft can you please check if this is reproducible in MRTK3
We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!