# How to take screenshots in VR using blueprint with passthrough

**URL:** <https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324>\
**Category:** Blueprint\
**Tags:** Virtual-Reality, oculus-quest, unreal-engine, question, Blueprint\
**Created:** [January 31, 2024, 4:58am UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324 "2024-01-31T04:58:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![candyflip97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@candyflip97](https://forums.unrealengine.com/u/candyflip97)\
**Post date:** [January 31, 2024, 4:58am UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/1 "2024-01-31T04:58:22Z")

</div>

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/b/85bd1c060608df8e3cb6ba8cb459155a55caffa9.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?](https://forums.unrealengine.com/t/exporting-a-rendertarget-as-a-png/372217/7):
>
> Hi, i tried doing this but i could not find the PNG in the path i’ve mentioned! is there anything im doing wrong? can you please help

1. 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

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [January 31, 2024, 7:47am UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/2 "2024-01-31T07:47:55Z")

</div>

this is a common question.  
Meta and Apple Vision Pro don’t allow users to access raw camera buffer thus you can’t access passthrough view programmatically. I wrote details in here.

For your case, Quest handles passthrough view at low level and because softwares doesn’t have access to camera buffer, you can’t see that view in your screenshots.

I didn’t try yet but if you use Quest Link (Passthrough supports it) you can try to take actual screenshot from Windows.

> [@Image tracking in VR passthrough](https://forums.unrealengine.com/t/image-tracking-in-vr-passthrough/1623474/2):
>
> Nope you can’t do that with any engine or any plugin if you want to work only with Quest devices without any accessories and it isn’t about engines at all. Quest device family doesn’t have camera raw buffer access feature. Even if you integrate ZXing, OpenCV or TensorFlow, you can’t read camera data thus can’t process it to decode it. Meta forbids that access because so-called privacy reasons. Couple days ago I talked with a team from Meta who works on “Quest 3 CAD Parts in MR / CAD Viewer” …

---

<div class="post-metadata">

**Author:** ![candyflip97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@candyflip97](https://forums.unrealengine.com/u/candyflip97)\
**Post date:** [January 31, 2024, 3:24pm UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/3 "2024-01-31T15:24:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [February 1, 2024, 6:41am UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/4 "2024-02-01T06:41:06Z")

</div>

You indirectly want to access camera buffer.  
You have a USceneCapture2D component to capture what user see in your VR scene. If it was just a VR scene, it would be okay but for RGB passthrough, engine have to access front facing raw camera buffer and there is no access for it.

So, you will see your digital objects in front of black screen.

You can see passthrough because Quest device handles it but not engine. So, engine see passthrough as empty area.

---

<div class="post-metadata">

**Author:** ![candyflip97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@candyflip97](https://forums.unrealengine.com/u/candyflip97)\
**Post date:** [February 1, 2024, 1:51pm UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/5 "2024-02-01T13:51:07Z")

</div>

Yeah, Thank you for the reply. I can’t believe meta is blocking developers passthrough API access and expect to develop MR applications.

[Suggestion: Allow apps to request permission to ac… - Meta Community Forums - 995012 (atmeta.com)](https://communityforums.atmeta.com/t5/Quest-Development/Suggestion-Allow-apps-to-request-permission-to-access-camera/td-p/995012)

---

<div class="post-metadata">

**Author:** ![Anonymous\_2169f3720086f43ab1d8432d67b7ceb8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_2169f3720086f43ab1d8432d67b7ceb8](https://forums.unrealengine.com/u/Anonymous_2169f3720086f43ab1d8432d67b7ceb8)\
**Post date:** [March 26, 2024, 2:50pm UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/6 "2024-03-26T14:50:55Z")

</div>

Has the problem been solved.I’m also need camera image too.Help

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [March 30, 2024, 8:01am UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/7 "2024-03-30T08:01:47Z")

</div>

No. As I say before in here and my other answers for other related questions. This is not an Unreal Engine or any game engine related function/problem. Meta doesn’t allow us to access passthrough buffers from RGBD cameras programmatically.

You can record that view with your Android/iOS phone with Meta Quest app to share on YouTube or Twitch but that’s all.

---

<div class="post-metadata">

**Author:** ![FonseCode1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FonseCode1](https://forums.unrealengine.com/u/FonseCode1)\
**Post date:** [September 7, 2025, 11:02pm UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/8 "2025-09-07T23:02:45Z")

</div>

Here you can find a repo that implements the Android Camera2 API in Unreal and with which you can access the headset cameras of the Meta Quest 3 headset (passthrough): [https://github.com/yesidfonseca/AndroidCamera2-UnrealEngine/tree/Passthrough\_Quest3](https://github.com/yesidfonseca/AndroidCamera2-UnrealEngine/tree/Passthrough_Quest3)

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [September 10, 2025, 11:28am UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/9 "2025-09-10T11:28:50Z")

</div>

You can’t access camera passthrough buffer with screenshots. It’s an internal system of headsets. You have to use camera2 api. But currently Meta haven’t released a plugin for that for UE5.

You have to write by yourself with C++ and Java JNI. Also there are some experimental plugins in GitHub.

But there will be another problem. camera2 api won’t have your UI data. So, you have to write a logic like this in C++

1. Don’t take screenshots. Use capture scene component and take a capture. It has the be same eye of camera2api
2. You will have a render target with UI on blackscreen. Get its pixel buffer.
3. Change camera2 api’s buffer’s pixels with UI buffer where UI’s pixel are not black. This makes a some kind copy paste with masking effect.

If you don’t know C++ and this is not a runtime gaming feature (I mean you want to use it for advertising your project), I suggest you to use Meta’s “Camera” app.

It is already installed. You can open secondary apps as overlay. Open it and take screenshot with it.

It is nothing to do with UE5.

---

<div class="post-metadata">

**Author:** ![FonseCode1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FonseCode1](https://forums.unrealengine.com/u/FonseCode1)\
**Post date:** [September 10, 2025, 11:56am UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/10 "2025-09-10T11:56:14Z")

</div>

Check this plugin. It gives you access to the Android Camera2 Api. So you will have access to the Headset Cameras of Meta Quest 3 (Passthrough). Also works for any Android Device like phones (Check main branch)

> **[GitHub - yesidfonseca/AndroidCamera2-UnrealEngine at Passthrough\_Quest3](https://github.com/yesidfonseca/AndroidCamera2-UnrealEngine/tree/Passthrough_Quest3)**
>
> Passthrough\_Quest3

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [September 10, 2025, 3:32pm UTC](https://forums.unrealengine.com/t/how-to-take-screenshots-in-vr-using-blueprint-with-passthrough/1655324/11 "2025-09-10T15:32:53Z")

</div>

1- I thought you was the one asked the question.

2- I can already write my own camera2 api plugin with FRunnableThread support.

3- This plugin uses game thread. You get camera buffer, do possible process like QR detection and mechanics on same thread ?? I don’t how things can go worse for performance perspective. It is a good example though and I am aware of it. That’s why I said “there was some experimental plugins”.

4- Question was about different things than what plugin was doing. Camera2 API gives you what “camera” sees. It is a raw view without UI elements. Question was about having “both” camera view and UI. That’s a different story. For this reason you have to replace camera’s pixel with UI’s pixels in another thread after getting UI pixels from render thread.

5- These operations can’t be done with current screenshot system.
