DPI-Awareness Validation with Unity3D

Vlad Traistaru 1 Reputation point
2020-11-10T07:45:06.637+00:00

Hello,

I am working on an application in Unity that is compiled to UWP. I am having issues with the UWP app in the certification kit test, in the sense that the report returns a warning for DPIAwarenessValidation.

I am using the latest Windows SDK as of today (10.0.19041.0) that contains this certification kit application.

38712-image.png

Because I have been unsuccessful with trying to use DPI calls from the Unity app itself, I’ve decided to use a manifest.

38604-image.png

These are the options for the manifest in Visual Studio.

38564-image.png

Although the certification kit fails to detect DPI-Awareness calls, looking in Task Manager, the app seems to be DPI-Aware.

38649-image.png

I even tested the feature by changing the scale of UI elements in the Windows 10 settings and it scaled properly.

I am not sure if this is the right way to do it but I am running out of options to try. What is to do next in this situation?

Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
928 questions
{count} votes