Search Issue Tracker

In Progress

Under Consideration for 1.11.X

Votes

0

Found in [Package]

1.11.2

Issue ID

ISXB-1270

Regression

Yes

`GamepadButton.LeftTrigger` and `GamepadButton.RightTrigger` enum values resolve to wrong integers when set through the Inspector

Package: Input System

-

How to reproduce:
1. Open the attached “IN-90063“ project
2. Open the “test gamepad button dropdown“ Scene
3. In the Hierarchy, select the “[GamepadButtonDropdownTest]” GameObject
4. In the Inspector, ensure that the “Right Trigger” and “Left Trigger” fields contain the values “Right Trigger” and “Left Trigger” respectively
5. Enter Play mode
6. Observe the Console window

Expected result: No errors are printed in the Console
Actual result: Failed assertion errors are printed in the Console

Reproducible in: 1.11.1 (2021.3.46f1), 1.11.2 (2021.3.46f1, 2022.3.54f1, 6000.0.30f1, 6000.1.0a7)
Not reproducible in: 1.11.0 (2021.3.46f1)

Reproducible on: Windows 11, macOS 14 (M2) (By user)
Not reproducible on: No other environments tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.