The Left Mouse Button Pressed event is not firing when Input Mode Game Only is set and Show Mouse Cursor is true. Attached is an example project (4.23) that demonstrates the issue.
Found in 4.23.0 CL#8386587
Reproduced in 4.22.3. CL#7053642, 4.24 Main CL#8892378
1. Create a new blank blueprint project.
2. Make two new blueprints:
a. pawn (BugClickPawn)
b. game mode (BugClickGM)
3. Assign BugClickPawn as the default pawn in BugClickGM.
4. Assign BugClickGM as the game mode.
5. In the BugClickPawn Event Graph do the following (in attached image):
a. Call "Set Input Mode Game Only" from "Begin Play"
b. From the "Left Mouse Button" node Pressed and Released print a string that says they were called.
c. From "Tab" node Pressed and Released call "Set Show Mouse Cursor" (True for pressed and False for Released) and print a string that says whether Tab is pressed or released.
6. Play the level.
7. Open the Output Log.
7. Hold tab and left click & release once.
8. Wait 1 second and left click and release.
9. Observe the Output Log.
Results: The pressed event is not firing while the mouse cursor is visible consistently.
Expected: The pressed event is fired as expected.
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?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How do I set a material as a post-processing material?
How does TArray loop correctly remove elements in blueprints?
What is the difference between Camera and CineCamera?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-80623 in the post.
12 |
Component | UE - Editor - UI Systems - Slate |
---|---|
Affects Versions | 4.23, 4.24, 4.22.3 |
Created | Sep 20, 2019 |
---|---|
Resolved | Aug 27, 2021 |
Updated | Aug 27, 2021 |