Search Issue Tracker
Fixed
Fixed in 1.14.1
Votes
1
Found in [Package]
1.13.1
1.14.0
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
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'
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
- Default Preset application and Reset() method execution order is different when adding a Component via the Inspector versus calling Reset via the Component context menu
- Scene view is not outputting HDR when the "Use HDR Display Output" option is enabled, DX12 is selected as the Graphics API, and URP/HDRP is in use
- Sprite Atlas results in suboptimal packing even when "Allow Rotation" is enabled
- References placed in a UnityEvent change to the same reference when multi-selecting their GameObjects
- "ShadowCaster2D" Component doesn't work when the "Casting Source" is set to "Polygon Collider 2D"
Resolution Note (fix version 1.14.1):
Fixed errors caused by recreation of DefaultInputActions instance in InputSystemProvider