Hi there, thanks for the nice Unreal ImGui integration plugin!
I have noticed that on mobile there are some input issues that mean ImGui isn't really usable.
It seems like the touch position is not correctly passed to ImGui on Mobile, so a couple of things happen:
- The input doesn't go to the correct place
- It seems like it gets stuck in a touch down state, where each new touch will move the ImGui Demo window to the touched position
I've made a small 5.5 project hat just shows the ImGui demo window that makes it easy to reproduce.
git clone clone https://github.com/riotcam/ImGuiTest.git
cd ImGuiTest
git submodule init
git submodule update
- Open the ImGuiTest.uproject in UE >= 5.5
- If you Play In Editor the
ImGui.ToggleDemo console command should toggle the ImGui Demo, in the PIE window this should work as expected
- Started a "Standalone Game Mobile" from the PIE menu
- Alt Enter to full screen the "Standalone Mobile Game" window (not strictly necessary but is closer to the real mobile experience)
- Show the demo with the
ImGui.ToggleDemo console command
- Try interact with the ImGui window and the game window, note that it does not behave the same as the (not mobile) "Standalone Game"
The Standalone Mobile Game window seems to behave the same as running on an Android or iOS device for this issue.
Do you have any idea what the difference in input handling might be that causes this to behave differently between PC and Mobile?
Hi there, thanks for the nice Unreal ImGui integration plugin!
I have noticed that on mobile there are some input issues that mean ImGui isn't really usable.
It seems like the touch position is not correctly passed to ImGui on Mobile, so a couple of things happen:
I've made a small 5.5 project hat just shows the ImGui demo window that makes it easy to reproduce.
git clone clone https://github.com/riotcam/ImGuiTest.gitcd ImGuiTestgit submodule initgit submodule updateImGui.ToggleDemoconsole command should toggle the ImGui Demo, in the PIE window this should work as expectedImGui.ToggleDemoconsole commandThe Standalone Mobile Game window seems to behave the same as running on an Android or iOS device for this issue.
Do you have any idea what the difference in input handling might be that causes this to behave differently between PC and Mobile?