Mixed Reality Utility Kit - User Safety.
Updated: Mar 13, 2025
After completing this section, the developer should be able to use the Room Guardian prefab to allow the guardian boundary to fade in and out of the scene.
A primary concern of Meta and app developers is to keep the users safe. You can use
RoomGuardian to create a Guardian-like protective mesh that renders as a player approaches it, eventually showing Passthrough directly. This is helpful for safety if your scene is intended to be fully virtual instead of using Passthrough.
How to use:
- Simply Drag the RoomGuardian into your scene.
- This prefab also has an EffectMesh component on it, which is used to create the mesh. If you’d like to create your own shader, reference the properties in FakeGuardian.shader (
_WallScale
and _GuardianFade
), as this component passes them as parameters.