Search Issue Tracker

Active

Votes

0

Found in [Package]

1.11.2

Issue ID

ISXB-1150

Regression

Yes

NullReferenceException error when trying to paste an Action Map into an empty Action Map list

Package: Input System

-

Reproduction steps:
1. Open the attached “InputMapPaste.zip” project
2. Open the “InputSystem_Actions.inputactions” from the Project Window
3. Create a new Action Map and Copy it
4. Delete the Action Map
5. Paste the Action Map
6. Observe the Console

Expected result: The Action Map gets pasted and no errors are in the Console
Actual result: The Action Map does not get pasted and errors “Retrieving array element that was out of bounds” and “NullReferenceException: Object reference not set to an instance of an object” are shown

Reproducible with: 1.8.0 (2022.3.51f1, 6000.0.24f1, 6000.1.0a1), 1.11.2 (2022.3.51f1, 6000.0.24f1, 6000.1.0a1)
Not reproducible with: 1.7.0 (2021.3.45f1, 2022.3.51f1), 1.8.0 (2021.3.45f1), 1.11.2 (2021.3.45f1)
Couldn’t test with: 1.8.0-pre.1 (2021.3.45f1, 2022.3.51f1), 1.8.0-pre.2 (2021.3.45f1, 2022.3.51f1) (Paste functionality does not work)

Reproducible on: Windows 11
Not reproducible on: no other environment tested

Notes:
- Does not reproduce if any other Action Map is already in the list
- Can be reproduced on a new project

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.