Unity built game resolution issue
Hello, So I'm trying to make a game in Unity, and everything is fine, the screen resolution on the Game and Scene view are perfect and well adjusted for every aspect ratio, but after I build the game, and execute the built version of it, the resolution goes crazy.. Before executing the game, there's an option to change resolution but all of them won't work!
I'll put screenshots to make things clearer.
Free Aspect Game View:
Standalone:
Built game resolution:
How can I fix this? Am I missing anything obvious here?
Thanks in advance.
Are you using any tag like #if UNITY_ANDROID in your code for resolution setup?
Answer by LexarX · Aug 24, 2015 at 11:01 AM
Nevermind!
I fixed it.
All I had to do was add a main camera to the scene, I thought since I had the UI canvas I didn't need a camera but I was wrong.
Now it's all working perfectly.
Your answer
Follow this Question
Related Questions
Problem in the resolution 0 Answers
iOS build to cater for scene resolution scaling iPhone and iPad 0 Answers
How can I scale a scrollview item so it keeps its ratio? 0 Answers
Question Regarding Camera Resolution 0 Answers
Pixel Perfect Camera help 0 Answers