playMaker

Author Topic: Touch-end events problem  (Read 1021 times)

QueenM56

  • Junior Playmaker
  • **
  • Posts: 55
Touch-end events problem
« on: July 05, 2018, 12:31:55 AM »
Hi All,

I've posted this one in IOS section, but just want to post it here again so more people could see this:
I'm working on a 2D mobile game and come across some problem with touch control.
I've installed CF2 and using its control rig, the problem is the all the button delays.
I've written to CF2 supplier and here is their replay:

"From time to time a strange problem pops up where Unity fails to process touch-end events resulting in frozen touches.
CF2 deals with it by automatically ending touches that aren't updated for more than certain amount of time (2 seconds by default).

Please import the attached script and add it to any non-disabled game object in your gameplay scene - it will display the number or active system touches and touch markers on the screen. If you notice touch markers remaining on the screen longer than they should, bad luck. The only solution to this bug is to create an new project and import all the assets from the old one (and hope for the best)"


Most likely I'm having this frozen touch issue, but I really don't want to restart the project as I've been doing it for 4 months.
I'm wondering if there is any other solution I can deal with it.

Hope someone here could help.

Thanks!
M

QueenM56

  • Junior Playmaker
  • **
  • Posts: 55
Re: Touch-end events problem
« Reply #1 on: July 05, 2018, 01:16:22 AM »
Just to add, I'm using unity Remote 5 to run the test.  Wondering if this could be a factor of the delay.