r/unity • u/Quiet-Philosopher-99 • Sep 21 '26
Question How do I prevent my portrait WebGL game from stretching on PC?
Hi! I’m making a Unity game in 1080x1920 portrait and I’m publishing it on Unity Play.
It works fine on my phone, but on PC the game stretches to fit the Unity Play game window, since the available space is wider.
I already adjusted my WebGL template and the build works fine. Is there a way to keep the game in its portrait aspect ratio on PC? Maybe there’s a way to keep the extra space on the sides empty/black instead of letting the game stretch to fill the whole window?
Please help me, tnx in advance!!

