QuadHD and 4K resolution downscaling

Hi, me again.

I designed a game, it runs fantastic on 720p devices. But when my friend come and show me my game running crappy at note 4 i couldn’t believe my eyes.

I realised my game cannot be run at 4K, so i am looking for a way to limit the resolution to 1080 by default.

TL;DR :Is there a way of limiting the maximum screen resolution?

edit: it’s on android, only on android.

Use Screen.SetResolution in a Start Script. As long as no other scripts change it during an Update phase, you’re good to go.

Here are the docs on it. Unity - Scripting API: Screen.SetResolution