DPI scaling in Unity conflicts with DPI scaling in Windows 10

When creating a simple button with a hitbox area in Unity, you want users to be able to easily hover over this button and click on it for it to be active. However, there are certain situations we are seeing even with the latest beta version of Unity, that sometimes these hitzones don’t work on Windows.

Upon learning we realized that right-clicking on the game exe->properties, we can change the DPI scaling behavior so that it is controlled by the application instead of Windows. This fixes the problem for users so that when they hover over the hitzone, it is active. The “disable fullscreen optimizations” also has something to do with this.

In general, please investigate why this happens. It should be easy to reproduce by making any button and try to hover over this button in a scene at multiple different camera angles.

Can you report a bug on this? Quick test on my side doesn’t reproduce the issue.

How do I report the bug? What exactly do you need? The prefab?

Generally, you’d attach a project to demonstrate the issue, so you can just make an empty scene with a button and describe how to reproduce this in detail.