Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.0.0-preview.7
Issue ID
1277763
Regression
Yes
NullReferenceException error is thrown when creating a Player Input Action
How to reproduce:
1. Open the attached "PlayerInput" project
2. Open the "SampleScene" Scene
3. In the Hierarchy select the "GameObject" GameObject
4. In the Inspector press the "Create Actions..." button, found in the Player Input Component
5. Press "Save" when the "Create Input Actions Asset" window opens
Expected results: No errors are thrown
Actual results: The "NullReferenceException" error is thrown in the Console
Reproducible with: 1.0.0-preview.7, 1.1.0-preview.1 (2019.4.10f1, 2020.1.6f1, 2020.2.0b3)
Not reproducible with: 0.1.2-preview, 1.0.0-preview.6 (2018.4.27f1, 2019.4.10f1, 2020.1.6f1, 2020.2.0b3)
Notes:
- The Action is still created, it's just not automatically added to the Actions slot and the error is thrown
- The created Action can be added to the Player Input without any issues
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
This is a duplicate of issue #1245921