This has been happening since Unity 4, whenever I set a different resolution then the device native (both using Screen.SetResolution and by changing the Target Resolution option in the play setting) I get a completely grey screen. The game keeps on running, it just doesn’t render (nor give me any error in logs).
Has anyone experienced this? and have a workaround?
Thank you in advance!
Is that even supported on iOS? What are you trying to do?
Using Screen.SetResolution at runtime on mobiles is supported, as far as I know, since Unity4. Custom resolution is supported for sure since Unity 3 through the Target Resolution option in the player settings.
What I am trying to do is rendering at a lower resolution to have the game run smoothly on older devices. Thank you for answering!
Small bump?
This seems pretty critical. Is anyone experiencing this?
If you know Screen.SetResolution is supported, but it doesn’t seem to work, then I can’t explain it. I know that PlayerSettings has a ResolutionAutoPerformance setting, which tells Unity to render to a lower resolution to help performance on older devices.
I get the grey screen even with the ResolutionAutoPerformance setting. The only setting that does not give me that error/glitch is the Native setting. Ideas? Anyone I could ask?
We have the same problem since updating to 4.5.3f3
Worked fine with 4.3. But now as soon as we set a non native resolution, the game display grey window. We saw there was a lot of change on the FBO in the trampoline, but didn’t find a way to correct this. And we need this to work cause we reduce the iPad 3 resolution so we have a better framerate on this platform.
Please look at this. It doesn’t work event with an empty project so really easy to reproduce.
We have also filled a bug report.
I found out that my bug was caused by a legacy shader called blitcopy. updating it with a version found online fixed it.