2D Toolkit Forum

2D Toolkit => Support => Topic started by: Arnold on January 25, 2014, 06:22:24 pm

Title: UI Button in Scrollable Area unresponsive in certain position
Post by: Arnold on January 25, 2014, 06:22:24 pm
Hi,

i have a really weird bug with my buttons inside a scrollable area.
Sometimes the button is unresponsive, then after moving the scroll list a bit, it becomes responsive again.
But it seems the unresponsiveness is related to the position in the scroll area.
The problem is, i can only test the functionally on the device and not in the editor. There is no collider at this
position that could eat the touches, so i really confused with this bug.

(https://dl.dropboxusercontent.com/u/1291801/button.gif)
Title: Re: UI Button in Scrollable Area unresponsive in certain position
Post by: unikronsoftware on January 25, 2014, 11:21:09 pm
Hmm. My initial guess would be the colder is being obstructed by something. Failing that, is there any region around it that incorrectly responds to the click? Finally try adding a kinematic rigid body to scrollable area content object in case that is causing some issue with the physics system.
Title: Re: UI Button in Scrollable Area unresponsive in certain position
Post by: Arnold on January 26, 2014, 10:15:42 am
ok cool i will give that a try and report back!
Title: Re: UI Button in Scrollable Area unresponsive in certain position
Post by: Arnold on February 17, 2014, 07:41:36 pm
Hi,

just wanted to report back on how it went.
I wasn't able to find the bug and i still don't know what was wrong.
Still i was able to fix it with creating a new scene and rebuilding it the same way as it was in my old one.
Strangely enough everything now works as expected, without changing the individual parts (buttons, scroll area etc.).
But it was in general the second time where i could only fix a bug with setting up a new scene…

Anyways thanks again for your help!