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

UISwipeGestureRecognizer breaks iOS multitouch #155

Open
zudl opened this issue Dec 28, 2019 · 6 comments
Open

UISwipeGestureRecognizer breaks iOS multitouch #155

zudl opened this issue Dec 28, 2019 · 6 comments

Comments

@zudl
Copy link

zudl commented Dec 28, 2019

While Gesture is set to SwipeDown iOS multitouch have strange behaviour

  1. Put down finger 1 (don't move!)
  2. Put down finger 2 (don't move!)
  3. Remove finger 1 (still don't move your fingers across the screen)
  4. No events for finger 1 (OnPointerUp or Touch.Phase == ended) came until finger 2 is moved

Tested on minimal repro:
Unity 2019.2.17f1, Lunar Console Pro 1.6.4, Input Manager, 1 Canvas, several buttons / debug text

@weeeBox
Copy link
Member

weeeBox commented Dec 28, 2019

Hey @zudl,

Would you be able to attach the sample project where you reproduced the issue?

@zudl
Copy link
Author

zudl commented Dec 28, 2019

InputTest.zip
Hi, @weeeBox
Yep, just add Lunar.

@nikescar1
Copy link

nikescar1 commented Jul 24, 2020

I have the same issue described. The problem does not happen on all iOS devices (this should make it fun to debug).

Here is a video of it happening on a iPad.

The game is running on Unity 2019.4.3.

iPad 6th Gen
Model Number: MR7G2LL/A
iOS Version: 13.6

@weeeBox
Copy link
Member

weeeBox commented Jul 26, 2020

Hey @nikescar1,

Sorry for the issue. I need more time for the fix but as a quick workaround - try disabling swipe gesture in LunarConsole settings and open the console with an API call:

  • To disable the gesture - change Gesture to None in the prefab settings:
    Screen Shot 2020-07-26 at 12 11 33 PM
  • To open the console programmatically use: LunarConsolePlugin.LunarConsole.Show()

@nikescar1
Copy link

Hi!

Thanks for the suggestion. I don't think that option will work since there's a couple bugs we're currently tracking that happen at game start before UI loads and during certain transitions in the game.

Thanks for looking in to this though. Lunar Console has been a huge help during development!

@davidejones88
Copy link

davidejones88 commented Aug 3, 2021

This happened to me as well, Unity 2020.3.14f1 LTS, iPad Pro. It's not a massive problem but prevents us from having LunarConsole active in every build.
@weeeBox do you have any other updates? I will try your workaround today

Edit: I am using the new Input System package from Unity

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

4 participants