Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.7.0

1.8.0-pre.1

Issue ID

ISXB-657

Regression

No

Interactions are reset to default when you set 0 as values

Package: Input System

-

How to reproduce:
1. Open the attached project "IN-55588.zip"
2. Open Assets/New Controls.inputactions
3. Change Action properties>Interactions>Hold>Press Point to 0
4. Save Asset
5. Close the "New Controls (Input Actions)" window
6. Repeat step 2

Expected results: Press Point is 0
Actual results: Press Point is reset to the default value

Reproducible with: 1.7.0, 1.8.0-pre.1 (2021.3.30f1, 2022.3.10f1, 2023.1.15f1, 2023.2.0b11, 2023.3.0a7)

Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested

  1. Resolution Note:

    (https://docs.unity3d.com/Packages/com.unity.inputsystem@1.7/api/UnityEngine.InputSystem.Interactions.HoldInteraction.html):

    Documentation remarks: "If this is less than or equal to 0 (the default), defaultButtonPressPoint is used instead." Also the UI behaviour not reverting to default immediately is no longer applicable past 2022.3 with Input System 1.8.x

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.