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
Unity's New Input system breaks touch input on android. #766
Comments
Got the same problem, disabled useAndroidViewSurface: false to fix problem with handling swipe events on android, for emulators actually it is working good, but for real device it is breaks inputs at all
can you explain this part? Which bugs do you have here? |
Some drawbacks that I have noticed using
Because of things these (and probably more) I never use that mode. |
Describe the bug
There were multiple users on Discord that mentioned touch not working on android.
After some testing it appears to be because of the new input system in Unity.
Once the New Input System is enabled, touch no longer works on android.
It only occurs with the default
useAndroidViewSurface: false
, setting it to true makes touch work again.This workaround causes quite a few bugs so I would not recommend doing this.
My current advice is to stick with the (default) old input system or use the Both setting.
To Reproduce
Enable the new input:
Input system
package from the package manager.EventSystem-> Standalone input module
.There should be a button to update it to the
Input System UI Input Module
.Steps to reproduce the behavior:
Setup
The text was updated successfully, but these errors were encountered: