Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.8.0-pre.2
Issue ID
ISXB-755
Regression
No
NullReferenceException thrown when editing project wide actions in play mode and having a gameobject with a playerinput component set to use it
How to reproduce:
1. Open the “My project(99).zip“ project
2. Open the “Input System Package” settings in the Project Settings
3. Add a new Action Property to a random Action in the “Player” Action Map
4. Enter Play Mode
5. Bind any key to the Action Property
6. Exit Play Mode
7. Observe the Console window
Expected results: No errors are thrown
Actual results: NullRefferenceException errors are thrown (“NullReferenceException: Object reference not set to an instance of an object“)
Reproducible in: 1.8.0-pre.2 (2022.3.18f1, 2023.2.7f1, 2023.3.0b4)
Could not test in: 1.7.0, 1.8.0-pre.1 (2021.3.34f1, 2022.3.18f1, 2023.2.7f1, 2023.3.0b4), 1.8.0-pre.2 (2021.3.34f1) (different Project Settings layout which does not support key binds)
Reproduced on: Windows 11 Pro
Not reproduced on: No other environment tested
Notes:
- After trying to reproduce the problem on the 2021.3.34f1 Editor version, in all other Editor versions NullReferenceException errors were thrown every second time the Project Settings window was unfocused or the “Path” Dropdown menu was selected (Only after testing the 2021.3.34f1 Editor version)
- The NullExceptionErrors do not impact the usability of the Editor
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
This is fixed in full release of 1.8.0 by a change in the way ProjectWideActions asset is stored.