Search Issue Tracker

Fixed

Fixed in 1.8.0-pre.2

Votes

0

Found in [Package]

1.8.0-pre.2

Issue ID

ISXB-251

Regression

No

Input System's Input Action only calls the Performed Callback when the Control Type is set to Vector3

Package: Input System

-

Reproduction steps:
1. Open the attached project
2. Open the "/Assets/Scenes/SampleScene.unity" Scene
3. Enter Play Mode
4. Press the 'W' key in the Game view
5. Observe the outputs in the Console window

Expected result: once the key is pressed and released the Callbacks sequence should be Started -> Performed -> Cancelled
Actual result: after the first press Started Callback gets called and after that only the Performed Callback is called

Reproducible with: 1.2.0, 1.3.0, 1.6.1 (2019.4.39f1, 2020.3.36f1, 2021.3.5f1, 2022.1.7f1, 2022.2.0a17, 2023.1.0a1)

Reproducible on: Windows 10 (21H2)

  1. Resolution Note (fix version 1.8.0-pre.2):

    Added `EvaluateMagnitude` override to `Vector3Composite` to fix issues with callbacks

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.