So, I’m having an issue with getting touch input. My (very simple) app works as follows :
- Display a skybox if touchCount > 0 (actually a PhotoSphere, using it for a Cardboard application)
- On user touches, swap between skyboxes (only 2 right now)
As simple as that. And it works, but it’s very buggy. Sometimes it will work perfectly, swapping between skyboxes with no issues. Sometimes it will work fine for a while, and then get “stuck” and not respond to touches anymore. Sometimes it will not work at all and stay stuck on the original skybox. I’m not sure if this is truly an issue with TouchCount, perhaps having two relatively large skyboxes loaded into memory is causing problems? But, then again, I’ve made a very similar app that changed skyboxes depending on where the user was looking and it did not have any issues.
There is nothing getting outputted to the logcat.
I don’t know if it’s useful, but I’ve tried building on Android 2 and up, and tried Android 4 and up. My phone is running 5.1.1