Need help with graphic in android

I just start using unity with my first game. But I have problem with graphic. I set my unity to android with 1280*720 portrait. This is my game in play mode in laptop.

and the second is game in my Huawei p30 with unity remote. how can I make the graphic to have fine resolution like in laptop? Thank you.

Unity remote does not show you the resolution, its not for testing graphics its for testing input.

You need to do an actual build and test on device, to see how it looks.

Also, use the snipping tool to take screenshots (https://support.microsoft.com/en-us/windows/use-snipping-tool-to-capture-screenshots-00246869-1843-655f-f220-97299b865f6b) , instead of using your phone. Its really hard to tell resolution when you are using your phone to snap pics of another screen.

2 Likes

Unity Remote has the game actually running in your Editor on your workstation. It is basically streaming the game. Do real testing with a real build.

But specifically on the resolution issue, the P30 has a screen resolution of 1080 x 2340. The resolution you’re trying out is the wrong aspect ratio, and doesn’t evenly divide into that native resolution. So it has to look bad and stretched, because the screen is incapable of handling 1280 x 720 well.

You should use the device’s native resolution unless you have a good reason not to.

1 Like

Thank you. I can fix resolution issue with switch to png in unity remote. But when I switch from 1280x720 portrait to 2160x1080 portrait. My UI suddenly got mass up. How can I fixed UI despite screen resolution change?

Just saying the UI got “mass up” isn’t really clear what your issue is. But if you haven’t read the manual section about supporting different resolutions, I’d start there. If you have implemented everything there but still have issues, then clearly define your current problems and I’m sure someone can help.

https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/HOWTO-UIMultiResolution.html

1 Like