Cardboard XR Kit is an open-source Unity starter project maintained by SpatialLab, the XR Lab at Universidad CENFOTEC. It provides a lean baseline for building mobile VR experiences with the Google Cardboard XR Plugin, including a ready-to-run sample scene and curated XR settings to speed up prototyping.
- Unity LTS ready: Configured for Unity
2021.3.44f1with Android build support. - Cardboard-first: Uses the official Google Cardboard XR Plugin for lightweight mobile VR.
- Starter scene: Includes a sample scene to validate rendering, input, and project setup out of the box.
- Extensible: Organize your own assets under
Assets/while keeping XR configuration assets inAssets/XR.
- Unity Hub with Unity 2021.3.44f1 installed.
- Android Build Support (SDK, NDK, and OpenJDK components) added to the Unity Editor.
- An Android device with the Google Cardboard viewer for on-device testing.
git clone https://github.com/Universidad-CENFOTEC/cardboard-xr-kit.git
cd cardboard-xr-kit- In Unity Hub, click Add project and select the
cardboard-xr-kitfolder. - Open the project with Unity 2021.3.44f1.
- When prompted, let Unity import dependencies (including the Google Cardboard XR Plugin).
- In the Project window, open
Assets/Scenes/SampleScene.unity. - Press Play in the Editor to verify that rendering and input work.
- Go to File → Build Settings….
- Select Android and click Switch Platform.
- Ensure XR Plug-in Management lists Cardboard XR Plugin for Android.
- Click Build and Run with a connected Android device to deploy the sample scene.
Assets/Scenes— sample scene you can extend or replace.Assets/XR— XR settings (general settings, loaders, and provider configuration).Packages/manifest.json— package dependencies, including the Google Cardboard XR Plugin.ProjectSettings/ProjectVersion.txt— Unity Editor version used by the project.
This project is proudly maintained by SpatialLab (XR Lab) at Universidad CENFOTEC and the community. Contributions are welcome!
- Fork the repository and create a feature branch from
work. - Make your changes and include relevant tests or repro steps.
- Open a pull request describing your updates and testing.
For questions or collaboration proposals, reach out to SpatialLab via the university channels or open an issue on GitHub.
This is an open-source project. If no license file is present, please contact SpatialLab to clarify usage terms before shipping production builds.