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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note:
This is fixed in full release of 1.8.0 by a change in the way ProjectWideActions asset is stored.