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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
This is fixed in full release of 1.8.0 by a change in the way ProjectWideActions asset is stored.