Hi
Can anyone let me know why when I package my build it shows up like the image attached when I play it?
As you can see it cuts off the top part of the game.
Thanks in advance
Hi
Can anyone let me know why when I package my build it shows up like the image attached when I play it?
As you can see it cuts off the top part of the game.
Thanks in advance
The default behavior of the engine is to fit the camera to the width of the screen, so what’s happening there is that it’s like a 16:9 image that’s being scaled to the width and making the top and bottom get cut off.
To support ultrawide aspect ratios like 21:9 or 32:9 you need to build it into your game to adjust the camera FOV. I believe a formula like this would get an updated FOV:
if(screenWidth / screenHeight > 16/9)
newFOV = FOV * (screenWidth / ((16/9) * screenHeight))
Aha
Thank you so much