Search Issue Tracker
By Design
Votes
0
Found in
2022.3.59f1
6000.0.41f1
6000.1.0b9
6000.2.0a6
Issue ID
UUM-99142
Regression
No
"W" and "S" keys navigate ListView when in Player or Play Mode
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Press “S” key twice
5. Observe List View
Expected result: List View can’t be navigated with “W“ and “S“ keys or has an option to disable this
Actual result: “W“ and “S“ keys navigate through List View
Reproducible with: 2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6
Reproducible on:
Play Mode
Windows Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
- UI Mask Component does not apply correctly when Canvas Render Mode is set to Screen Space - Camera
Resolution Note:
ListView and many other controls support navigation events for runtime use cases.
With mouse and keyboard, navigation actions are mapped to both the arrow keys and the WASD keys. You can delete WASD keys in the Project Settings under `Input System Package > UI > Navigate > Keyboard` to remove that support.
It is also possible to block WASD navigation events momentarily through the event system, by stopping propagation of the NavigationMoveEvent before it reaches the control. This is a more generic solution than adding an option to ListView. See more documentation about event handling here:
https://docs.unity3d.com/2020.1/Documentation/Manual/UIE-Events-Handling.html
https://docs.unity3d.com/6000.0/Documentation/Manual/UIE-Navigation-Events.html