Swipe
Swipe copied to clipboard
Events not firing
There's a high chance I'm doing something wrong, but it doesn't seem that events are firing for me. I attempted to create one of each node "Swipe Left, Swipe Right, Swipe Up, Touch Begin, Single Tap) and tried to print a string after each. When watching the simulation, the event are never actually fired and nothing appears on the screen.
UE 4.13
Things I've tried: Respawning in the actor Seeing if events fire off BeginPlay Tried calling each event from Swipe
I am experiencing the same issue even when using the pluggin from C++ in UE4.13. I'll let you know if I figure out why this is.
In the meantime, if the developers could look into whether the plugin is compatible with 4.13, looks like we'd appreciate it!
Looks like the USwipeViewportClient::InputTouch is never being called. Perhaps the issue is related to UE4 not using the swipe viewport client correctly in 4.13?
The issue is that in SwipeViewportClient.cpp on line 122 there is UWorld* World = GetWorld(); since in UE4.15 GameViewportClient.cpp already defines UWorld and that causes whole thing to fail. You have to change UWorld* World = GetWorld(); to World = GetWorld(); and that should fix it.