Camera Resolution Issue for portable devices

Hi,

I’m facing an issue while creating game for portable devices. Whenever I test in different resolution devices, the camera is not adopting to the device resolution size. I’m using 1920×1080 Portrait. I could only see the “Screen match mode” in Canvas but not in Camera. How to overcome this problem?

Thanks in advance.

It’s there, but has slightly-different implications that vary based on how you are setting stuff up.

In orthographic the property you want is camera.orthographicSize

In perspective the nearest equivalent would be camera.fieldOfView