Search Issue Tracker
Fixed in 2022.3.7f1
Fixed in 2023.2.0a20
Votes
0
Found in
2021.3.28f1
2022.3.4f1
2023.1.3f1
2023.2.0a22
Issue ID
UUM-41466
Regression
Yes
Mouse and JoystickButton KeyCodes are different in runtime when selected in Inspector
Reproduction steps:
1. Open the “KeyCodeStripped” project
2. Open the “SampleScene” scene
3. Select the "Checker" GameObject
4. In Inspector ensure the selected KeyCode is "Mouse 0"
5. Enter Play Mode and observe the Console
Expected result: The selected KeyCode (i.e. “Mouse0”) is logged
Actual result: An unexpected KeyCode (i.e. “Print” in 2022.3, "Break" in 2023.1) is logged
Reproduced in: 2022.2.21f1, 2022.3.5f1, 2023.1.0b18, 2023.1.3f1, 2023.2.0a16, 2023.2.0a19
Not reproduced in: 2021.3.28f1, 2022.2.20f1, 2023.1.0b17, 2023.1.4f1, 2023.2.0a15, 2023.2.0a20, 2023.2.0b1
Regressed in: 2022.2.21f1, 2023.1.0b18, 2023.2.0a16
Already fixed in: 2023.1.4f1, 2023.2.0a20
Reproduced using: Windows 10 (by reporter), macOS 13.4.1 (Intel)
Notes:
1. Reproducible KeyCodes start from “Left Meta” till the end
2. KeyCodes between "Left Meta" and "Alt Gr" can instantly change the selection to their unexpected KeyCodes (e.g. select "Mouse 0", then select "Left Meta", and the selected KeyCode will set to "Right Meta")
3. Also reproduced in Player
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
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Resolution Note (fix version 2022.3.7f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-36836
Resolution Note (fix version 2023.2.0a20):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-36836