Hello.
I’m creating custom UI buttons for my game using UI Images. I’m using C# scripts that provides IPointerHandler to detect when the mouse is over, clicking and exiting. When I builded the game, in some resolutions I have the following problem with the mouse on Rect Transform collision:
Normal Resolution (works perfect):
Another Resolutions. As you can see below the RectTransform is displaced to left.
Somehow in some resolutions the RectTransform collision is displaced. I don’t know why. Why this happens? How I can solve this problem? I want that RectTransform colliders works perfect in all possible resolutions.