Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

1.4.3

Issue ID

ISXB-372

Regression

No

PlayerInput onDisable throws a NullReferenceException error after exiting the Play mode

Package: Input System

-

How to reproduce:
1. Open the attached “repro-project.zip“
2. Enter Play mode
3. Press any button on the keyboard
4. Exit Play mode and observe the Console

Expected result: The Console is empty.
Actual result: Errors are displayed in the Console.

Reproducible with: 1.4.3 (2021.3.15f1)
Not reproducible with: 1.4.4 (2020.3.42f1, 2021.3.15f1, 2022.2.1f1, 2023.1.0a22)

Reproducible on: macOS 11.6.5 (Intel)

Error:
NullReferenceException while resolving binding 'Fall:<Gamepad>/leftStick[Gamepad]' in action map 'Mecha_Input(Clone) (UnityEngine.InputSystem.InputActionAsset):Mecha'
UnityEngine.InputSystem.PlayerInput:OnDisable () (at Library/PackageCache/com.unity.inputsystem@1.4.3/InputSystem/Plugins/PlayerInput/PlayerInput.cs:1734)

  1. Resolution Note:

    This is already fixed in 1.4.4
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-282

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.