Problem:Pretty simple question, could someone tell me why this button in the image below doesn't fire when two identical buttons do fire on mouse collision? It does work 60% of the time, but 40% of mouse hovers dont fire off and the user has to wiggle and juggle the mouse a few times over it for the button to detect mouse intersect with button collider. Any suggestions on why this might be happening? Yes collider is on, yes collider is the same size as the button, no there is no spike in the profiler that would stutter, the scene remains at 59FPS - those were the first things to check - the problem still persists.
Set up: UI set up as 3D UI. Using the
Control - Simple Button prefab that comes with NGUI and absolutely no modifications to the button at all. The
Control - Button is the child of a
UI Panel and the UI Panel is child to
UI Root.
The only thing I can think of was that I copy/pasted the button within the editor but I'm hesitant to call that the problem as I cant reproduce this as the point of this problem.
Edit: I would like a point of clarification. For UIPanels that I'm not using and I want to hide, I am calling uiPanel.enabled = false; Is this incorrect? I'm noticing that the panel is still active but renderer disabled. Nonetheless, I can see for panels that are stacking it is causing issues with button clicks. What is the proper way to hide a UIPanel not being used? What is the point of having UIPanel.enabled = false if it causes issues with overlays?
UI Button:UI Panel (Parent of button):UI Root:UI Camera: