Input System with Android

Hi everyone,
i’ve got a problem with the new Input System. My Game is a Multiplatformgame and the new Input System(V1.0) is an must-have for this! I’ve coded the code(.performed += ctx … ect) an set the Action/Bindings correct(and the path in the code). It works like a charm and I can play in the Editor with Keyboard, Controller and with the Remote 5 app on my Samsung S10, without problems! Buuuuuut … when i’m building an apk build, the touch functions aren’t working anymore?
I’ve tested every setting under “build setting” and i’ve plugged my S10 into my lappi. The SDK and ect are the Unity plug-ins and the mobile Stick and buttons are from the InputSystemPackage/On-ScreenControls example Package.
Like i said … the stick and buttons are working correctly in the editor!
I’m a little frustated right now, because i’m in love with the new Input System :)))
Bye Bye und danke(thx^^)

1 Like

Hi… Did you figured it out by now? If yes then please help)

After many tests … i switched back to the old normal input system. Keyboard and gampad with oldschool Input.GetButtonDown(“ButtonA”) … (for Example config ButtonA and then declare keyboard and pad buttons for it)… and the UI Movements with Pad & keys with UI-Buttons and set Navigation to automatic. There is great Tutiorial from GamesWithJames about UI, where you can select, which 1st button should be selected when u push pause/inventory menu.
With Touch and mouse im going oldschool too and set a normal UI-Button and execute the function that needed directly from the Button-Element. For the Joystick, im going with the Joystick Pack from the asset store … the floating Joystick is ultra nice!! (Dont forget the Graphic Raycaster Element^^ … and there is a great video from unity about Performance-boost with ui-elements!!)
This way, nothing can go wrong and its more clean for me. It was a half day work to rewrite everything … but now its a clean code with no bug interference!
For example … i’ve got a weird bug with the input system, where i tracked down a bug, which ended in the input system and i then i’ve got no chance to eliminate him.

Greetings from Germany and good luck my friend :slight_smile:

1 Like

Thank You So Much Buddy. Greetings From India & best of luck pal. Stay Safe)