You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pointers not being removed/cancelled using TUIO input #356
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
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...
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...
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...
Activity
mchangxe commentedon Dec 17, 2020
experiencing the same problem, did you manage to get it fixed somehow?
raymond9991 commentedon Dec 17, 2020
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...
dhr0118 commentedon May 13, 2021
@raymond9991 hi, did you solve the problem later?
ouroeight commentedon May 13, 2021
No, no solution. My workaround is simply turn on/off the application when it becomes very laggy...
valcion1993 commentedon Oct 7, 2023
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