Skip to content

Pointers not being removed/cancelled using TUIO input #356

Open

Description

@raymond9991

Hi, my use case is I use TUIO Input with a sensor.

I noticed that when the number of pointers keep increasing, sometimes the pointers will just clump up and never gets removed/released (even if no object is in front of the sensor). These pointers will keep in press state and significantly decrease the fps.

Has anyone experience this issure before? Is there any workaround to release/cancel all pointers manually? Thx

6

Activity

  1. mchangxe commented on Dec 17, 2020

    @mchangxe

    experiencing the same problem, did you manage to get it fixed somehow?

  2. raymond9991 commented on Dec 17, 2020

    @raymond9991
    Author

    Unfortunately no. I've found that turning the TouchManager gameobject on/off will release some of the pointers but not all, eventually the pointers will still overflow. Still can't manage to find out the reason behind, but the error message "ArgumentException: An item with the same key has already been added." appears a lot before a fps dip. I'm guessing some duplicate pointers with same id is added somehow, don't know why, and can't find a workaround...

  3. dhr0118 commented on May 13, 2021

    @dhr0118

    Unfortunately no. I've found that turning the TouchManager gameobject on/off will release some of the pointers but not all, eventually the pointers will still overflow. Still can't manage to find out the reason behind, but the error message "ArgumentException: An item with the same key has already been added." appears a lot before a fps dip. I'm guessing some duplicate pointers with same id is added somehow, don't know why, and can't find a workaround...

    @raymond9991 hi, did you solve the problem later?

  4. ouroeight commented on May 13, 2021

    @ouroeight

    Unfortunately no. I've found that turning the TouchManager gameobject on/off will release some of the pointers but not all, eventually the pointers will still overflow. Still can't manage to find out the reason behind, but the error message "ArgumentException: An item with the same key has already been added." appears a lot before a fps dip. I'm guessing some duplicate pointers with same id is added somehow, don't know why, and can't find a workaround...

    @raymond9991 hi, did you solve the problem later?

    No, no solution. My workaround is simply turn on/off the application when it becomes very laggy...

  5. valcion1993 commented on Oct 7, 2023

    @valcion1993

    I had a similar problem, and in my case it was that the touch manager was not configured correctly.

    Go to an example scene and paste the touch manager again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions