SpaceMadness / lunar-unity-console

High-performance Unity iOS/Android logger built with native platform UI
https://www.assetstore.unity3d.com/en/#!/content/43800
Other
839 stars 114 forks source link

UISwipeGestureRecognizer breaks iOS multitouch #155

Open zudl opened 4 years ago

zudl commented 4 years ago

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 commented 4 years ago

Hey @zudl,

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

zudl commented 4 years ago

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

nikescar1 commented 4 years ago

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 commented 4 years ago

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:

nikescar1 commented 4 years ago

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 commented 3 years ago

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