Introduction
Welcome back, XR developers! Today’s video is all about the Meta MR Utility Kit (MRUK), a game-changing development tool by Meta. MRUK streamlines testing mixed reality features like Scene API and Anchors, offering graphical helpers, scene queries, and development tools. This tool is a significant leap forward for XR development, and I’m thrilled to share its capabilities with you! If you find these videos helpful, please like, subscribe, and consider supporting me on Patreon. For any queries, our XR developer community on Discord is always ready to assist. Let’s dive into the Mixed Reality Utility Kit from Meta! 🚀
Setting Up MRUK
- Requirements: Ensure you have Unity “2021.3.30” or newer and a Quest 2, Pro, or 3 with firmware version 60 or newer. For PC, use Quest Link (Passthrough image is headset-only). On Mac, build and deploy an APK. 🖥️
- Installation: Install the Meta XR SDK and the Mixed Reality Toolkit from the Unity package manager. Use “com.meta.XR.SDK.all” for the SDK and “com.meta.XR.mrutilitykit” for MRUK. 📦
- Project Setup: Utilize Meta’s “Project Setup Tool” to configure your project, including setting up the XR plugin for device testing. Switch the platform to Android in the build settings for headset deployment. 🛠️
Exploring MRUK Features
- MRUK Base Scene: Observe a regular OVR Camera Rig set to “Stage” in the Tracking Origin Mode. Note that Spatial Anchors, Scene Understanding, and Passthrough support are not required with MRUK in the editor but you will have to enable it for your build! 📸
- MRUK Prefab: The MRUK prefab is a singleton and should exist only once in a scene. It includes a “scene loaded” event for method execution and a “World Lock” feature for syncing the virtual and real world. 🌍
- Scene Settings: Choose between a room prefab, scene model, or device with prefab fallback as your data source. Test your app in various room types by selecting different Room Prefabs. 🏠
- Effect Mesh Component: Render scene models in different materials, enable colliders for physics interactions, and apply effects to specific labels like floors and walls. 🎨
- Room Guardian: Set a distance for the guardian activation and use the “Effect Mesh” and “MRUK Start” components for dynamic interactions. 🛡️
- Scene Debugger: Access a menu with tools for anchor and surface information, and visualize interactions with the scene model. 🕵️♂️
Coding with MRUK
- Scene Queries: Use the MRUK classes to query scene data, such as key walls, largest surfaces, and closest seat poses. 📊
- Find Floor-Zone Module: Utilize the “Find Spawn Positions” tool to determine suitable spawn points for prefabs based on size and surface type. 📍
- Anchor Prefab Spawner: Replace existing anchors like beds and tables with virtual objects, transforming real rooms into virtual environments aligned with your game’s style. 🛋️
Conclusion
The Meta MR Utility Kit is a revolutionary tool that significantly enhances the XR development process. Its comprehensive features and easy-to-use components make it an indispensable asset for developers. If you’re excited about MRUK and its potential, don’t forget to like, subscribe, and join our Discord community for more insights and support. Thank you for watching, and stay tuned for more XR development tutorials! 👋👨💻🌐
Support Black Whale🐋
If you find our content helpful, consider supporting us on Patreon. Your contributions enable us to continue creating free, high-quality educational material 👍.
Thank you for following this tutorial. Stay tuned for more in-depth and insightful content in the realm of XR development! 🌐
Did this article help you out? Consider supporting me on Patreon or simply subscribe to my YouTube channel!