I have a button with a box collider that is not responding to mouse clicking or hovering. After playing around with it I realized that I could get the button to respond in one of two ways :
- Set the collider's Z value to 100
- Set the transforms Z value to -100
So while I have it working, this solution is very smelly, and I feel I am missing something critical. I have already stripped my scene of all other objects to ensure that the collider is not being blocked by another object. Moreover the X and Y bounds of the collider are working as expected (so far as I invoke one of the two hacks above).
Has anyone else come across this issue ? Any steps to trouble shoot this issue would be much appreciated.