On Unity 2020.3.24f1:
- I created a 2D Core Project and changed to build on any Android device.
- Added a simple 2D Circle Sprite to my Scene.
I want my Game to run in 9:16 aspect ratio all the time. If the device screen has another aspect ratio letterboxing will do fine. But running the game on my Redmi Note 10 with screen dimensions of 1080x2400 stretches the circle vertically.
I tried this script which is basically the same as the script on this site. When I use 9:16 aspect ratio (in the script) no letterboxes are appearing. But when I change to 16:9 (in the script) with my device being in portrait mode there are letterboxes but the circle is still stretched.
I searched the web for around 4 hours tried everything I found and checked every option in the project settings but can't get this to work.