Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events not firing #7

Open
broc923 opened this issue Oct 21, 2016 · 3 comments
Open

Events not firing #7

broc923 opened this issue Oct 21, 2016 · 3 comments

Comments

@broc923
Copy link

broc923 commented Oct 21, 2016

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

@calben
Copy link

calben commented Nov 1, 2016

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!

@calben
Copy link

calben commented Nov 1, 2016

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?

@PlainBane
Copy link

PlainBane commented Feb 26, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants