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
- 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 #1245921