I have an incredibly maddening issue. I have a UIScrollView with two pages of buttons inside it. All but one of the buttons don't work.
This is the behavior I am experiencing. The numbers in the parentheses are the levels in the hierarchy (see below).
Scenario 1:
* Deactivate and reactivate the gameobject (1) that is the parent of the buttons, all of the child buttons (2) work (page A).
* Scroll to the next page (page B) and back (page A), the buttons (2) continue to work.
* Scroll to the next page (page B) and deactivate/reactivate the buttons, the ones on that page work (page B) and the SOME of the buttons on the previous page (page A) stop working.
* Go back and forth and the behavior is the same
Scenario 2:
* Deactivate the Box Collider on the parents of the buttons (1) and the buttons work but the menu does not scroll
Here is my hierarchy:
(0)--ScrollView, UIPanel, UIScrollView, UICenterOnChild
(1)----UIDragScrollView, Box Collider w/depth -20
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
(0)----UIDragScrollView, Box Collider w/depth -20
(1)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification <---- this one works
(2)------UISprite, UIDragScrollView, Box Collider w/depth 3, UIButton w/OnClick notification
EVERYTHING is exactly the same on all of the objects. When I run the scene, the only difference between the one that works and the one that doesn't is the length of the color tween. On all of the broken ones it's .15, the one that works it's .2. I don't know what that could possibly do but it's the only difference I could see.
Any help would be very much appreciated. I can't find ANYTHING that could be causing this seemingly random behavior. If ALL of the buttons did not work it would make a lot more sense but this really doesn't make any sense. Thanks!