I’ve been recently developing a game just for an android and when I test it out on the computer using Unity Remote with my android controls and timing works flawless however, when I export the .apk file and install it onto the same android device everything is a bit choppy? Like for example left screen tap is to jump and right is to slide. Testing it out works fine but when I export and install it doesn’t respond half of the time. I really don’t know why?
More information would be welcome
It might be that the scene is too complex and there are performance issues, try dumbing it down to the bare minimum and see if the problem occurs.
Camera, Cube, Input Script, Tap left, cube jumps, Tap Right cube spins a bit
Maybe it is a timing issue, Time.deltaTime ? FixedUpdate? Physics?
Add a simpler input handler to the scene, that shows a GUILayout.Label with left and or right to check for delays
Are you checking with GUI Buttons? It’s seems better to just use the Input System and check if a x is lower or higher then a margin
Move the manual control code to a Update function
if (Input.GetMouseButton(1) )
if (Input.mousePosition.x < 0.4f) //left side tap
and duplicate the code for multitouch (jump and slide)
if(Input.touchesCount > 0)
//handle each touch, check screen coordinate
I hope this helps
Very long time for me to be posting a reply but I did see this awhile back. It did help thanks a lot!