# Quest Passthrough Camera Access via Camera2 API \[UE5 Plugin\]

**URL:** <https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313>\
**Category:** XR Development\
**Tags:** oculus-vr, unreal-engine\
**Created:** [August 23, 2025, 12:45pm UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313 "2025-08-23T12:45:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tark146](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tark146/32/465244_2.png) [@tark146](https://forums.unrealengine.com/u/tark146)\
**Post date:** [August 23, 2025, 12:45pm UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/1 "2025-08-23T12:45:23Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/2/46257cc376fc43b9f6bc383843a8ec2252c5e908.jpeg)

Quest 2/3/Pro Camera2 API Plugin - Camera Access Implementation Sample for UE5

I’ve created a plugin that accesses Camera2 API via JNI on Quest 2/3/Pro, retrieves camera feed as UE texture, and displays it on a Widget.

Originally developed as a base for QR code recognition using Quest’s camera, I’m releasing this as an implementation example of Camera2 API access.

Environment:

- Tested with UE 5.3
- Works on Quest devices only (verified on Quest 3)
- Does not work in Editor/PCVR (returns null texture by design)

Notes:

- Fixed resolution at 320x240 (v1.0)
- Color calibration in progress (slight orange tint)
- Camera permission required on first launch

Please use this as an implementation sample for accessing Camera2 API on Quest.

Repository: [GitHub - tark146/UnrealAndroidCamera2Plugin](https://github.com/tark146/UnrealAndroidCamera2Plugin)  
License: MIT License (free for commercial and non-commercial use)

---

<div class="post-metadata">

**Author:** ![Madlions](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Madlions](https://forums.unrealengine.com/u/Madlions)\
**Post date:** [August 26, 2025, 11:42am UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/2 "2025-08-26T11:42:42Z")

</div>

Very nice, i recently made one for ArUco tracking as well, supports max resolution

---

<div class="post-metadata">

**Author:** ![Heavenwinds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heavenwinds](https://forums.unrealengine.com/u/Heavenwinds)\
**Post date:** [September 3, 2025, 1:58am UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/3 "2025-09-03T01:58:39Z")

</div>

im working on something similar, were you able to do 3d aligment perfectlu?

---

<div class="post-metadata">

**Author:** ![Madlions](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Madlions](https://forums.unrealengine.com/u/Madlions)\
**Post date:** [September 4, 2025, 11:59am UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/4 "2025-09-04T11:59:22Z")

</div>

not sure what u mean by 3d alignment, do u mean 3d positioning?

---

<div class="post-metadata">

**Author:** ![Heavenwinds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heavenwinds](https://forums.unrealengine.com/u/Heavenwinds)\
**Post date:** [September 4, 2025, 4:06pm UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/5 "2025-09-04T16:06:13Z")

</div>

yea! I have everything working on my end for texture→solvepnp but just have an issue with the positioning coversion (there is a bit of an offset) and im not sure where its coming from

---

<div class="post-metadata">

**Author:** ![Madlions](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Madlions](https://forums.unrealengine.com/u/Madlions)\
**Post date:** [September 9, 2025, 6:55pm UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/6 "2025-09-09T18:55:11Z")

</div>

U can get this from android camera characteristics, this is the offset between camera and tracking origin, but i found this not too precise, so u may need to do a hand-eye calibration to figure out the offset as well

---

<div class="post-metadata">

**Author:** ![AnaisArtemis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnaisArtemis](https://forums.unrealengine.com/u/AnaisArtemis)\
**Post date:** [November 21, 2025, 9:00am UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/7 "2025-11-21T09:00:42Z")

</div>

Hi,  
Thank you very much for your plugin. I’m using 5.5 and it’s working on my quest3. I would like to know why it’s not possible to activate the camera in Unreal Editor or with an application .exe (launched from my metaquest link). Thank you again,

---

<div class="post-metadata">

**Author:** ![tark146](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tark146/32/465244_2.png) [@tark146](https://forums.unrealengine.com/u/tark146)\
**Post date:** [December 8, 2025, 10:09pm UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/8 "2025-12-08T22:09:32Z")

</div>

I haven’t figured out how to access the camera from Unreal Editor or a PC executable yet.  
Since PassThrough works via Meta Quest Link, I assume it should be technically possible, but my current scope is focused on enabling QR reading directly on the Quest device. Because of that, I haven’t had the capacity to explore PC or exe support. I’d like to investigate it in the future, but honestly, I just haven’t had enough time. Sorry about that.

By the way, could you tell me what kind of use case you have in mind for accessing the camera image from the PC or within the Editor?

---

<div class="post-metadata">

**Author:** ![iBrews](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ibrews/32/1069219_2.png) [@iBrews](https://forums.unrealengine.com/u/iBrews)\
**Post date:** [March 28, 2026, 7:04am UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/9 "2026-03-28T07:04:42Z")

</div>

hey there! can you tell us more about your ArUco tracking plugin ? I’ve been struggling to get this to work for VR.

---

<div class="post-metadata">

**Author:** ![MeamnimLab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MeamnimLab](https://forums.unrealengine.com/u/MeamnimLab)\
**Post date:** [September 2, 2026, 3:06pm UTC](https://forums.unrealengine.com/t/quest-passthrough-camera-access-via-camera2-api-ue5-plugin/2650313/10 "2026-09-02T15:06:01Z")

</div>

hi there did yo figure it out? im also struggling wih the aruco marker. i feel like im close but never cracked the best fix it
