I’ve been running into these issues too. Trying to get all the information together in one place…
There’s a bug report that was created on Jan 4, 2023:
However, it was marked “Duplicate.” I’m not able to find the bug it’s a duplicate of, though - so I wonder if this fell through the cracks.
The bug does say “Target Fix” is Unreal Engine 5.2. Haven’t tried 5.2 out yet - so I’m not sure if it’s fixed there myself.
I do see there’s a bullet point in the Unreal Engine 5.2 release notes:
Fixed an issue where enhanced input bindings for Actor Components would not register at the correct time causing them to be unbound
Uno1982’s video mentions a few problems:
- @ 19:00: he mentions the “Skip Assigning Gamepad to Player 1” doesn’t work anymore. (I currently don’t see a separate bug for this)
- @ 19:55: -1 for Create Local Player Controller doesn’t work anymore. (I currently don’t see a separate bug for this)
- @ 24:35: he mentions the time delay issue - where trying to assign the enhanced input local player subsystem in a PlayerController’s BeginPlay Event can fail nondeterministically.
The other threads I see with this issue are:
- Q&A Post - separating keyboard and first gamepad
- Q&A Post - Can’t Control Local 2nd Player
- Q&A Post - Problem with Enhanced Input and Split Screen
Suggested Workarounds
For the Enhanced Input not registering correctly:
- Uno1982 released the template he used in his video in the Unreal Marketplace for $6. When I’ve tested it out, it’s worked well for me. My only issue here is that I’m trying to have the game support both local play and online play, and would ideally have one flow for code that could work for both. (Since in this project the GameMode is responsible for setting up the PlayerController’s input, that won’t work for online play)