Search Issue Tracker

Active

Under Consideration for 1.17.X

Votes

9

Found in [Package]

1.17.0

Issue ID

ISXB-1780

Regression

Yes

Keyboard input does not work when entering Play Mode with a controller connected and loading a Scene using a custom script

Package: Input System

-

How to reproduce:
1. Open the attached project "IN-123743"
2. Open the "Assets/Scenes/Development/DevGym" Scene
3. Connect a controller
4. Enter Play Mode
5. Attempt to move the character using WASD
6. Observe the Game View

Expected result: The character moves using both WASD and controller input
Actual result: The character only moves with controller input

Reproducible with: 1.14.1 (6000.0.62f1), 1.16.0 (6000.0.62f1, 6000.2.13f1)
Not reproducible with: 1.14.0 (6000.0.62f1)
Could not test with: 6000.3.0f1 (Scene does not start using custom script), 6000.4.0a5, 6000.5.0a1 (Error CS0115)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Workaround: connecting a controller after entering Play Mode results in both keyboard and controller input working

Notes:
- referenced script is in "Assets/Scripts/Debug/SceneAutoLoader" and in the scene is on the "DebugSceneAutoLoader" GameObject
- tested using a DualSense controller

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.