Unity Issue Tracker - Mouse device is disabled in Play Mode when the "Device Simulator" tab is present as an inactive tab and Game view is not maximised
Closed
UUM-107998
Mouse device is disabled in Play Mode when the "Device Simulator" tab is present as an inactive tab and Game view is not maximised
Unity: Device Simulator
Won't Fix
6.2.X
6.1.X
6.0.X
2022.3.X
Unity 6000.2 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
Reproduction steps:
1. Open the attached “IN-101730.zip” project
2. Open the “SampleScene”
3. Make sure the “Simulator” tab is present but not active
4. Open the Game view tab
5. Make sure “Play Focused” or “Play Unfocused” is selected in the Game view toolbar
6. Enter the Play mode
7. Hover/click on the button
Expected result: “Click” log is visible in the Console and the button is interactable
Actual result: The button is not interactable due to the Mouse Device being disabled
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
Does not reproduce if the Game view is maximised after entering Play mode or “Play Maximized” is selected in the Game view toolbar
To observe the Device being disabled, go to Window > Analysis > Input Debugger. Expand the Devices tab and right-click on the Mouse device to select “Open Device Debug View”, where it shows the state of the device
Does not reproduce in the Player or when forcing to enable the device via script
If this is intended, it would be beneficial to have some kind of feedback if the device is disabled
Prioritise and Follow this issue
Have a workaround or additional info about this issue?