Resolution and scaling issue when playing game made on Mac on PC.

Godot Version

4.2.1

Question

So my game works perfectly on Mac, but when exporting to PC, the resolution is zoomed in.

It looks the same as if I had “Allow hiDPI” turned off on my Mac, so how do I turn it on and keep it on when exporting for the PC build?

Thank you

This is because the viewport resolution differs according to screen DPI, but the game is not designed to support multiple resolutions. This is required for hiDPI support to work.

You’ll want to use the canvas_items or viewport stretch mode in the project settings and configure anchors on UI nodes.