Unity - RealSense aspect ratio

Unity defaults to 4:3 (1.3333) aspect ratio on any screen resolution, camera wont play in full screen. Is there a way to fix this behavior?

Unity 2021.3.1
Camera RealSense D435i

Thanks in addvance

NuitrackManager-> resolution

I tryed using Custom Color Resolution in NuitrackManager-> Sensor resolution it wont work,

My monitor is 1920X1080, Unity Game view screen size is set to Full HD(1920X1080) i put the same values
in Sensor resolution still the same behavior.

can you send a screenshot where the “game” window and the current parameters of the nuitrack manager component will be visible?

thank you for your fast response.

I have made some progress still trying to understand it. For some reason my Display Scale setting in my System (Windows) was set to 175% putting it back to 100% it seems to resolved the issue.

But i have another question now. Is there a way to output the screen in a portrait mode format sine would be
best suited for a virtual fitting room?

Thnx

it went to the prewious behavior with no changes from me :frowning:

Set the “Depth Resolution” values to 1920 x 1080

NuitrackManager->sensor rotation = 90 or 270 (you used latest version of NuitrackSDK.unitypackage from github?)

Thank you. Downloading the latest version of NuitrackSDK.unitypackage did the trick.

1 Like