Search Issue Tracker
Fixed in 1.4.1
Votes
0
Found in [Package]
1.3.0
Issue ID
1378614
Regression
No
[Input System] NullReferenceException error is thrown when using Input Actions in builds
How to reproduce:
1. Download the attached project "InputReader bug repro.zip"
2. Build and Run on a Standalone platform with Development build selected
3. Observe the logs
Expected result: No errors are printed in logs
Actual result: Logs show NullReferenceException error:
NullReferenceException while resolving binding 'Move:2DVector' in action map 'Controls (UnityEngine.InputSystem.InputActionAsset):Game'
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
Reproducible with: 1.0.0-preview (2019.4.34f1, 2020.3.26f1), 1.3.0 (2019.4.34f1, 2020.3.26f1, 2021.2.8f1, 2022.1.0b3, 2022.2.0a2)
Could not test with: 0.9.6-preview (2019.4.34f1, 2020.3.26f1) (compile errors)
Notes:
- Can be reproduced with Standalone and Android builds
- Can't be reproduced in Editor
- Not reproducible when deleting existing Up/Down/Left/Right Composite and creating a new one with the same parameters
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
- Help button leads to a missing documentation page when clicked on a Font Import Settings in the Inspector
- Scene dependency changes do not trigger a scene re-hash during Content Archives build
- Crash on PhysicsCommands::PhysX::CreateCharacterController when a Prefab containing a CharacterController Component is Instantiated with NaN position values
- TextMeshPro Text Component reads bottom-to-top instead of top-to-bottom when using RTL Editor
- Xcode crash on "AudioToolbox`AQ::API::V2Impl::AudioQueueProcessingTapGetSourceAudio" when repeatedly opening and closing video via AVPro Video's MTAudioProcessingTap on macOS 26.0+
Resolution Note (fix version 1.4.1):
Fixed in: Input System 1.4.1