cancel
Showing results for 
Search instead for 
Did you mean: 

How to take screenshots in VR using blueprint with passthrough

Candyflip420
Honored Guest

I need to take screenshots of what players see in the app with passthrough. How can I do this?

Candyflip420_0-1706715426624.png


I have added a SceneCaptureComponent2D in vr pawn and writing it to a render target and then exporting to .hdr but I can see unreal engine components but the passthrough is black. I need to take screenshot of what player is seeing with passthrough and convert it to base64. How can i do this in blueprint. 

Exporting a renderTarget as a PNG? - Development / Rendering - Epic Developer Community Forums (unre...


I changed the setting as per this and packaged the project to quest 3 and when I try to run, it crashes and doesn’t launch but if I keep the render target and scene cap setting default, it is working but png is not exporting properly

I don’t wanna access camera. Can i Take screenshot of what player is seeing in the head mount display in anyway? My app uses passthrough and everything is working fine.


 

 
1 REPLY 1

peppenordholm
Explorer

I might be wrong here, but AFAIK, the camera in Oculus is never exposed to software running on the headset due to privacy reasons.

https://communityforums.atmeta.com/t5/Talk-VR/Scan-QR-code-with-passthrough-camera/td-p/959717