Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Input.touchCount get's stuck at some value

Discussion in 'Windows' started by shnkrR, Oct 13, 2013.

  1. shnkrR


    Jul 17, 2013

    I can't verify this on all devices therefore I do not know if it is to do with the device or the engine. When running my game on the Nokia Lumia 820 which is my test device I've noticed that pressing the screen a number of times causes Input.touchCount to get stuck at a certain value and never go back to zero.

    I have verified this with a sample project and with the latest marketplace version of Temple Run. The sample project is attached. Is there a solution for this. My bug tester will NOT let me go gold with this present.

    Attached Files:

  2. Jonny-Roy


    May 29, 2013
    I'd already posted a thread called:

    'Input Touches sometimes sticks on stationary with no finger on the screen. '

    Yes this is an issue, I've not been able to put together a decent sample project to report it, can you bug report yours? Also short term fix you can use:

    Microsoft.Xna.Framework.Input.Touch with TouchPanel.GetState();

    Within a plugin to get the touch input correctly...this does not get stuck so it's definitly a bug in unity.