Installation¶
- Download the latest release of the toolkit from the SplatXR Releases page and unzip it.
- Open your Unity project.
- Go to Window > Package Management > Package Manager.
- Click the + button in the top-left corner.
- Select Install package from disk....
- Navigate to the unzipped toolkit folder and select the package.json file.
- Unity will import the package and it will appear in the Package Manager under In Project.
- In the menu bar at the top of the Unity Editor, click SplatXR > Building Blocks Panel to open the SplatXR panel.
Meshing tool installation: only needed if installed from source
The Splat Physics building block needs the SplatXR meshing tool to generate collision meshes. If you installed from the release zip on the Releases page, the tool is already included and you can skip this step.
If you installed from the source code in the GitHub repository instead, download the meshing tool for your platform from the Releases page. Place it in the toolkit's SplatXRToolkit/Runtime/SplatXRBuildingBlocks/Physics folder, and keep its file name: splatxr_meshing.exe on Windows or splatxr_meshing_mac on macOS. You can also put it directly in your project's Assets folder.
macOS security warning: however you installed, the first time the meshing tool runs, macOS may block it because it's from an unidentified developer. Go to System Settings > Privacy & Security, scroll to the message about splatxr_meshing_mac, and click Open Anyway. Then run the Splat Physics block again.
Next
Head to the Quickstart to import your first Gaussian splat.