Hi everyone, stuck on this for a while and hoping to get some help:
I have a (standalone PC/Mac program) scene where I update the UI when the window is resized. The program launches at 1024x768 and any time you resize it to be wider than it's launch width (1024px for me), all the colliders in the UI stop responding--though I have confirmed they're in the correct place. This only happens with the compiled program, and not while running in the Unity Editor.
In my case, I have buttons on the left and right side of the UI screen, which are anchored to their respective edges. However, I need them to scale based on the height of the screen. What I do is, I set UIRoot to have width=1024, height=768, and for both I check "fit". Then, when the program is resized, I change UIRoot's manualWidth and manualHeight properties to the new screen ratio (I enforce a min and max ratio). I also call ResetAndUpdateAnchors on my top-level parent UI widgets, which causes them to actually update to UIRoot's new dimensions. When I do this, though, the buttons on the screen don't work anymore and the colliders, while in the proper locations, don't receive a click event.
So far I've tried using NGUITools.UpdateWidgetColliders() so far with no luck, along with disabling and re-enabling the collider after resizing. Am I missing something? What am I doing wrong?