UI Buttons Trigger displaced after build. Help Please
I am using Unity 5.1.2f1 Personal Edition. I have a few UI buttons setup in my game. The buttons have an animation such that they turn from black to red when selected(not clicked). The buttons work completely normal in the editor. But after I build the game and run the exe the trigger points of button just displaces. What i mean is that when i place the mouse on the button it doesn't get selected/highlighted. Strangely, it gets selected when the mouse is placed a little bit towards the left of the button.
I've searched a lot on the Internet and I still don't have any clue on how to solve it. I also set the anchor points (as suggested by someone) and it didn't work.
I've attached a few screenshots for your reference.
Any Help would be appreciated.
Thanks in Advance.
Description of Images:
001.jpg--- shows that the "Back" button is selected when the mouse is placed over it in the Unity Editor.
002.jpg--- shows that the "Back" button is not selected when the mouse is placed over it in the built version.
003.jpg--- shows that the "Back" button is selected when the mouse is placed towards the left of it in the built version.
Can Someone help me please? Any $$anonymous$$oderator or some Expert out there can help me?