After the distance prototype I decided that the work would enter the viewer’s own room. Before making any content, I spent a few days setting up the mixed-reality foundation. The work is made in Unreal Engine 5.8 and runs as a standalone APK on Meta Quest 3. The whole experience uses bare hands, without controllers.
Step 1: plugin and runtime. I enabled the Meta XR plugin in the project, used its Project Setup Tool to check the rules a Quest build has to meet, and set the XR runtime to Epic’s native OpenXR. In the plugin settings I also switched on body tracking (upper body).




Step 2: headset and computer. In the Quest I ran Space Setup so that the headset scans and remembers my room, and turned on the developer options. On the computer I set Meta Horizon Link as the OpenXR runtime and switched on “Passthrough over Link” and “Spatial data”, so the room can also be read while testing in the editor.




Step 3: reading the room in the MRUK sample first. At first the sample showed zero rooms. I used MRUK’s built-in sample room (loaded from JSON) to understand the data it gives: walls, floor and each piece of furniture are each an anchor. Then I ran “Launch scene capture” in the headset and got my own room. The sample also has ray casts, nearest-surface queries and other functions; the automatic placement of the organs was later built with queries like these.





Step 4: passthrough. I enabled passthrough in the plugin settings and turned on alpha output in the rendering settings, so the virtual image can sit on top of the real room. The level blueprint initialises persistent passthrough at the start and then requests the scene permission.






Step 5: the VR template and the main level. I added UE’s VR template to the project, used its game mode and pawn (BP_XRPawn), and built the main level, connect. The first version held only a white ball, to test whether my hands could touch it and whether its position in passthrough was right.








Step 6: mobile rendering settings. For the Quest I turned on forward shading and mobile multi-view (both eyes rendered in one pass) and turned off mobile HDR.


Step 7: the level blueprint reads the room; hands and menu (11 October). At the start, the level blueprint checks the headset, requests permissions, sets the tracking origin to the floor and initialises passthrough. Reading the room needs the Android permission USE_SCENE. If no room exists, it calls Launch Scene Capture on the MRUK subsystem and continues when the scan is finished. BP_XRPawn has an OculusXRHand component for each hand; I set them to hide the hand when tracking is unreliable and gave them my own hand material. A left-hand menu lets me switch passthrough, reset the orientation and restart inside the headset.







Leave a Reply