Search Issue Tracker
Fixed
Fixed in 1.12.0, 7000.0.0
Votes
0
Found in [Package]
1.11.2
Issue ID
ISXB-1180
Regression
No
Loose Input Bindings are able to be pasted and result in NullReferenceException when pasting them into an empty Input Action Asset
Reproduction steps:
1. Open the attached “looseinputbind.zip” project
2. Open the “InputSystem_Actions.inputactions” from the Project Window
3. Copy any of the Actions binding (e.g. Move > WASD)
4. Open the “New Controls.inputactions” from the Project Window
5. Right click in the Actions column and press Paste
6. Observe the Console
Expected result: Paste option should not be allowed and no errors
Actual result: “NullReferenceException: Object reference not set to an instance of an object error” is thrown
Reproducible with: 1.7.0 (2021.3.45f1, 2022.3.52f1, 6000.0.26f1, 6000.1.0a3), 1.11.2 (2021.3.45f1, 2022.3.52f1, 6000.0.26f1, 6000.1.0a3)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- In some versions the right click might not always bring up the paste option at first or only activates when clicking on the upper part of the Actions column
- In 1.7.0, 1.8.0-pre.1 and all versions in 2021 stream - “InvalidOperationException" is thrown instead, but is caused by the same issue
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
- Adaptive Probe Volume “No Adaptive Probe Volume in Scene” warning is shown only on the first time and is never shown again when baking the Adaptive Probe Volumes with all the Adaptive Probe Volume components disabled
- “NullReferenceException” thrown in Console when changing Profile field to ‘DefaultLookDevProfile’ in Lighting window after deleting Directional Light
- "GardenDraft_LightingSettings" Asset is included in the URP Sample Template
- “Releasing render texture that is set as Camera.targetTexture!” Error thrown in the Console when undoing/redoing Camera addition in Graphics Compositor window > Render Schedule list
- The cursor moves into wrong place when renaming folder/asset
Resolution Note (fix version 7000.0.0):
Fixed an issue where pasting bindings into empty Input Action asset could cause Null Reference Exceptions.
Resolution Note (fix version 1.12.0):
Fixed an issue where pasting bindings into empty Input Action asset could cause Null Reference Exceptions.