Search Issue Tracker
By Design
By Design in 1.8.X
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
- Sprite Atlas Samples throw multiple warnings when changing the original Editor verion
- Deleting 2D Lights while Lighting Explorer is open throws “GUI Error” and “NullReferenceException” errors in the Console window
- "Couldn't open file for reading" error occurs when running binary2text on a file larger than 2 GiB
- AssetReference Variable will default to Texture Asset Reference Type when no Asset Reference is set and it's duplicated in UI Builder
- Unable to open projects for a period of time when closing "Project not found" panel in any way
Resolution Note:
This is fixed in full release of 1.8.0 by a change in the way ProjectWideActions asset is stored.
Resolution Note (1.8.X):
This is fixed in full release of 1.8.0 by a change in the way ProjectWideActions asset is stored.