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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
This is a duplicate of issue #-282