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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
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.