VR Builder
Last updated
Last updated
With VR Builder’s production-ready toolkit, you can define workflows, implement interactions, and have a working prototype ready within minutes. Whether you're creating VR training, product demos, or other immersive experiences, VR Builder provides the perfect solution.
By leveraging VR Builder’s user-friendly graphical interface, you can significantly reduce development time and streamline processes, allowing you to focus on creating high-quality VR content faster and more efficiently.
VR Builder is designed specifically for VR training applications, making it an ideal add-on solution. You can get VR Builder on the Unity Asset Store: VR Builder - Open Source Toolkit for VR Creation.
1. Get VR Builder from the Unity Asset Store
Open the Unity Asset Store and search for "VR Builder - Open source toolkit for VR creation."
Add it to your asset library.
2. Project Setup
Open your Unity project.
Download and import the VR Builder package into your project.
Confirm to import everything when prompted.
3. Update XR Interaction Layer Mask
4. Go through the Project Setup Wizard
Select your hardware from the options available.
Press Finish and save the scene when prompted.
5. Fixing Issues during Project Validation
If any issues arise during the project validation process, click "Fix All."
Unity will recompile the scripts, and the issues should be resolved automatically.
1. Start the Scene Setup Wizard
Press Finish to complete the setup.
2. Disable the Main Camera
Now your scene is ready to work in VR, but you need to add interactivity, such as movement via teleportation.
1. Select Your XR Rig
Move and rotate the rig to set a good starting point for the VR player.
2. Create a Teleportation Area
Add a plane to your scene and name it "Teleportation Area."
Add the "Teleportation Area (VR Builder)" component to the plane.
3. Set Layer for Teleportation
4. Disable Mesh Renderer
Your scene should now allow teleportation and basic VR functionality! You can continue building your VR experience using VR Builder’s extensive toolkit.
Restart Unity when asked.
After restarting, Unity will prompt you to update the XR InteractionLayerMask. Confirm this update.
During the setup process, you can make choices such as whether to make newly created grabbables ignore physics.
Uncheck "Load the demo scene after closing the wizard" since we don't need the demo for this setup.
Open the Scene Setup Wizard in VR Builder.
Select "Take my current scene" and give your process a name.
In the Unity Hierarchy panel, navigate to realvirtual> Main Camera
and disable it.
In the Hierarchy, find and select the XR rig (likely named "XR_Setup_Action_Based_Hands").
Set the plane's layer to #8 (regardless of its name).
In the Teleportation Area component, set the Interaction Layer Mask to the same layer. For simplicity, you can select "Everything," but specifying the correct layer is recommended for cleaner setups.
Disable the Mesh Renderer on the plane so that the teleportation area is functional but not visible in the scene.