Jump to content

CaptureScreen when Passthrough is enabled


Recommended Posts

Hey there,

I'm VR/AR developer and now creating some AR application in Unity for remote support using passthrough with HTC Vive XR Elite and WebRTC (for streaming screen).

I have some trouble with making screenshot with

ScreenCapture.CaptureScreenshot();
ScreenCapture.CaptureScreenshotIntoRenderTexture();

for casting to web browser.

Screenshots are fully black without passthrough view.

I builded app with disabled WaveXR and run it as "flat screen" on headset and it's capturing screen correctly.

 

I saw in Wave XR docs some info about Compatibility Guide:

Quote
  • Due to the privacy concern by product design, developer may not get camera image successfully in some devices.
  • Vive Wave SDK 4.1.0 supports limited access on camera API.
  • If developer would like use camera image please feel free to contact us for further technical support.

What should I do?

 

My technologies/devices stack:

  • Unity 2022 LTS
  • Wave VR 5.3.1
  • HTC Vive XR Elite
Link to comment
Share on other sites

1 hour ago, Tony PH Lin said:

Have you checked if you have enabled below setting?

Check from Advance -> Camera Setting -> Enable to record passthrough... option

Hey there, this option on headset (settings) is enabled.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...