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
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)
-
Resolution Note:
This is already fixed in 1.4.4
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-282
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
This is a duplicate of issue #-282