Hello,
I am currently trying to stream images captured from a ZED 2i stereo camera to a Meta Quest 3 headset using Unity.
Environment
-
Unity 6000.0.59f2
-
Meta XR All-in-One SDK 78.0.0
-
ZED Unity Plugin 4.2.5
-
ZED SDK 4.2.5
-
CUDA 11.8
Setup
-
I removed the default Main Camera from the sample scene.
-
I added the
ZED_Rig_Stereoprefab from the ZED Unity plugin. -
The screen settings are:
-
Aspect Ratio: 16:9
-
Scale: 1
-
Issue 1: Black bars (top and bottom)
When I run the scene on the Meta Quest 3,
the ZED camera image is correctly displayed, but there are black bars at the top and bottom of the view.
It seems that the prefab renders the image onto a screen (plane),
and the aspect ratio does not fully match the headset view.
Question:
-
Is there a recommended way to scale or adjust the screen so that the image fully fills the VR view without black bars?
-
Should I modify the screen plane scale, camera FOV, or another parameter?
Issue 2: Error after adding ZED_Rig_Stereo
After adding the ZED_Rig_Stereo prefab and running Unity with the VR headset connected,
I encounter the error shown in the attached screenshot.
Question:
-
Is this error expected or safe to ignore?
-
Or is it related to a misconfiguration between the ZED plugin and Meta XR?
Additional Notes
-
The image streaming itself works correctly.
-
The main concern is removing the black bars and ensuring proper full-screen rendering in VR.
Any guidance would be greatly appreciated.
Thank you!
