When two controllers connected, player2 input is disabled in full screen mode in PIE.
This doesn't appear to be in focus. If seeing the any focusing widget, player1 focused on SViewport, but player2 focused on SWindow and SOverlay.
Input is disabled in full screen mode only. Reselecting the viewport again allows it to work correctly, but only the first time the problem occurs. It worked correctly in 4.23.
Workaround for UE5.1:
void FLevelViewportLayout::FinishMaximizeTransition() { // ... // Set keyboard focus directly // MaximizedViewportEntity->SetKeyboardFocus(); FSlateApplication::Get().SetAllUserFocusToGameViewport(EFocusCause::SetDirectly); // ... }
Result:
The character doesn't move when input from controller 2.
The first controller input is allowed.
Expect:
Both controllers input is allowed.
How does TextureRenderTarget2D get TArray<uint8> type data?
How to delete some elements correctly when deleting an array loop?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How would I go about lerping the rotation instead of it snapping when turning (pls dont sue me epic)
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
How to convert the datasmith scene file to BluePrint. Create animations in BluePrint.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-94984 in the post.
14 |
Component | UE - Editor - UI Systems |
---|---|
Affects Versions | 4.24, 4.25, 5.1 |
Created | Jun 29, 2020 |
---|---|
Updated | Apr 10, 2023 |