Search Issue Tracker

In Progress

Under Consideration for 7000.0.X

Votes

1

Found in [Package]

1.13.1

Issue ID

ISXB-1446

Regression

Yes

"Index out of range" and "NullReferenceException" Input System errors when combining InputTestFixture with Scene loading tests on subsequent runs

Package: Input System

-

Reproduction steps:
1. Open the attached “IN-93841.zip” project
2. Open the “Test Runner” Window (Window > General > Test Runner)
3. Go to the “PlayMode” tab
4. Click “Run All”
5. Observe no errors in the Console
6. Click “Run All” again
7. Observe the Console

Expected result: No errors
Actual result: “Map index out of range in ProcessControlStateChange”, “Control index out of range”, “Binding index out of range” errors and “NullReferenceException” exceptions are thrown

Reproducible with: 1.8.2 (6000.0.40f1, 6000.1.0b8, 6000.2.0a5), 1.13.1 (6000.0.40f1, 6000.1.0b8, 6000.2.0a5)
Not reproducible with: 1.8.1 (2022.3.59f1, 6000.0.40f1, 6000.1.0b8, 6000.2.0a5) , 1.8.2 (2022.3.59f1), 1.13.1 (2022.3.59f1)

Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: No other environment tested

Note:
- Does not reproduce if Domain reload is enabled (Edit > Project Settings > Editor > When entering Play Mode > Reload Domain and Scene) or if the “UIDocument” GameObject in the “Playground” Scene has “Panel Settings” set to 'None'

  1. Resolution Note:

    Fixed errors caused by recreation of DefaultInputActions instance in InputSystemProvider

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.