Mixed Reality Utility Kit Overview
Updated: Apr 13, 2026
Mixed Reality Utility Kit (MRUK) provides a rich set of utilities and tools on top of
Scene API to perform common operations when building spatially-aware apps. This makes it easier to program against the physical world, and allows developers to focus on what makes their app unique.
These utilities broadly fall into three categories:
- Raycast queries without using the built-in physics engine, including
Raycast() and RaycastAll(). - Environment raycasting via
RaycastEnvironment() for depth-based queries that do not require Space Setup. - Find a valid spawn position on the floor, walls, and surfaces.
- Find the best surface position for placing content using
GetBestPoseFromRaycast(). - Seat detection via
TryGetClosestSeatPose() and SeatAnchors on room actors. - Key wall detection with
GetKeyWall() to find the longest wall with no obstructions behind it. - Check if a position is inside a room.
- Get the bounding box of a room.
- Get the parent/child relationship between anchors (for example, volumes stacked on top of each other or wall art attached to walls).
- Render the walls such that the textures wrap around smoothly without any seams and scale correctly regardless of wall dimensions. This is crucial for reskinning mixed reality worlds.
- Place virtual objects and furniture to replace their physical counterparts with various options to match orientation, size, and aspect ratio.
- Decorate the scene with procedurally placed content.
- Grid-slice resizing for static meshes, enabling 9-slice style scaling to fit anchors of different sizes.
- Destructible global mesh generation for breaking apart the room mesh into fragments.
- Distance map generation for spatial calculations based on room layout.
- Blob shadow rendering for virtual objects in mixed reality scenes.
- Light dispatcher for passthrough highlight material, sending point light data to enhance lighting realism.
- Room guardian implemented in the application to keep users safe.
- Scene debugger for visually inspecting the anchors to get their location, orientation, labels, and other properties.
- A selection of prefab rooms across multiple categories (bedrooms, living rooms, offices, and more) for testing your application in a variety of environments.
- Scene data provider for loading prefab room data from multiple categories in the editor without a headset.
- Passthrough camera access for retrieving passthrough camera images per eye.
- Object tracking for keyboards and QR codes.
- World locking to adjust VR Pawn position so that anchors stay aligned with the physical world.
Health and safety guidelines
While building mixed reality experiences, evaluate your content to offer your users a comfortable and safe experience. Refer to the
Mixed Reality H&S Guidelines before designing and developing your app using this toolkit or any Presence Platform features.
Design guidelines are Meta’s human interface standards and design frameworks that help you create safe, user-oriented, and retainable immersive and passthrough user experiences.