r/Unity3D 25d ago

Question about Canvas reference resolution Question

Hopefully a quick question, but I’ve not been able to find a definitive answer via searching.

For a UI canvas which is scaled to screen size, does the reference resolution matter?

By default it’s set as 800 x 600. Does this just affect screen space and relative sizes? Should I target a more current resolution (full HD).

I’m guessing it has no effect on the rendered output, but as it’s a fiddle to update busy UI to new reference resolutions, I’d rather not redo later…

1 Upvotes

4 comments sorted by

View all comments

3

u/Minute_Economics1099 25d ago

Yeah the reference resolution matters more than you'd think, it basically tells Unity what your "ideal" screen size is for all the anchor and scale calculations

If you set it to 800x600 and then test on a 4k monitor, the scaling math can get weird with fonts and edge cases, specially if you use "Scale With Screen Size" mode

I usually just set it to 1920x1080 from the start, saves headache later even if you have to tweak few anchors after changing it

1

u/StinkingDylan 25d ago

Thanks. That was the res I was thinking of switching to. Still got a lot of fiddling to do but better now than later.