It is possible to use the camera in a screen size with aspect ratio different than 16:9?

Hi everyone! First of all, I’m new in Unity. I have been working with the ZED 2i camera in unity in the last week, and I have a simple question: it is possible to use the camera in Unity using a screen size different than 16:9? Using the Body Tracking project sample, if I use any aspect ratio

  1. The camera looks stretched
  2. I see the warning Warning: Screen size should be set to 16:9 aspect ratio”

I’m focusing just in the camera view, we can ignore the skeleton rendered.

My use case is that I need, for now, to display the camera view in a 9:16 screen.

To understand the stretching, here are a few screenshots with examples:

I tried to upload a video but the forum doesn’t allow me to upload it because I’m a new user apparently.

I’m happy to provide extra information to understand better the context and my goal. Just want to know first if someone else had the same needs and if it was able to make it work. Thank you!

Hi,

The image output from the camera is at a 16/9 aspect ratio format, which is why you get this warning.

Using any other screen format would stretch/distort the image.

To prevent the image from stretching, you need to crop a subpart of the image at the correct aspect ratio instead.