Touch input performance issue on Lumia 520

Hi

I am experiencing a strange issue on the Lumia 520. I have a scene running at 60 fps, with no touch input (no use of Input. anything, no use of OnMouse anything). I have only one camera, and have also set evenmask = 0 on the main camera.

Any touch on the screen causes the FPS to drop to about 52 or so… and then dragging causes to drop further, to about 45 at the lowest. This also causes some audio stuttering to begin (yes, using Master configuration).

I’ve done some troubleshooting and broken things down to a very simple scene with minimal code, and even on this scene I can see a drop from 60 to about 57-58 with touching and dragging. It also causes some slight audio stuttering (about one pop every 45 seconds or so if touching, none if not)
It seems that the problem is worse when there are more objects in the scene, but I am at a loss as to what causes it. Reading Input or not does not seem to make a difference.

Any help / ideas anyone has would be appreciated.

Touches generate input events which cause OnGUI() methods being called on scripts, one call for each event.
There was a drastical rewrite in this area in the upcomming 4.5 release, it sould hopefully make things better.

Hi Aurimas

Appreciate the quick reply. I guess I will just need to wait for 4.5 then - I’d assume that this isn’t intended behaviour so it should be much better if there’s been a rewrite.

Thanks

Dave