A productive toolkit for rapidly building spatial computing solutions in the Unity software.
VRTK v4 has not yet been released fully is still in the beta phase meaning there may still be undiscovered bugs, missing features and a lack of usable documentation. All of these things are being worked on but progress is slow as there is only one person actively working on VRTK v4 in their spare time so please be patient and respectful. You are free to use VRTK v4 in any way you wish, but if you feel you will struggle figuring stuff out for yourself without detailed documentation then it may be better off if you wait until the full release of VRTK v4.
VRTK aims to make building spatial computing solutions in the Unity software fast and easy for beginners as well as experienced developers.
Requires the Unity software version 2018.3.10f1 (or above).
Visit the VRTK.Academy for a collection of educational content to help you get the most out of building spatial computing solutions with VRTK.
- Create a new project in the Unity software version 2018.3.10f1 (or above) using 3D Template or open an existing project.
- Ensure
Virtual Reality Supportedis checked:- In the Unity software select
Main Menu -> Edit -> Project Settingsto open theProject Settingswindow. - Select
Playerfrom the left hand menu in theProject Settingswindow. - In the
Playersettings panel expandXR Settings. - In
XR Settingsensure theVirtual Reality Supportedoption is checked.
- In the Unity software select
- Ensure the project
Scripting Runtime Versionis set to.NET 4.x Equivalent:- In the Unity software select
Main Menu -> Edit -> Project Settingsto open theProject Settingsinspector. - Select
Playerfrom the left hand menu in theProject Settingswindow. - In the
Playersettings panel expandOther Settings. - Ensure the
Scripting Runtime Versionis set to.NET 4.x Equivalent.
- In the Unity software select
Note: Unity 2019.1 requires additional project setup before importing VRTK.
- Download and install the
XR Legacy Input Helpersfrom the Unity Package Manager.- In the Unity software select
Main Menu -> Window -> Package Managerto open thePackage Managerwindow. - Select
XR Legacy Input Helpersfrom thePackagestab in thePackage Managerwindow. - Click the
Installbutton located in the bottom right of thePackage Managerwindow. - The
XR Legacy Input Helperspackage will now download and install into the project.
- In the Unity software select
- Navigate to the project
Assets/directory. - Git clone with required submodules into the
Assets/directory:git clone --recurse-submodules https://github.com/ExtendRealityLtd/VRTK.git- change to the newly cloned directory:
cd VRTK/ git submodule init && git submodule update
- The Unity software will now import and compile the new files.
- Open the
VRTK/Samples/Farm/Scenes/ExampleScenescene. - Enable
Maximize On Playin the Unity Game view control bar to ensure no performance issues are caused by the Unity Editor overhead. - Play the scene in the Unity Editor (
CTRL+P). - The scene should automatically play within any Unity supported XR hardware.
- Explore the farm yard and enjoy!
Many games and experiences have already been made with VRTK.
Check out the Made With VRTK website to see the full list.
We're not currently in a place where accepting contributions would be helpful. But as soon as we're ready we'll let you know!
Code released under the MIT License.
These materials are not sponsored by or affiliated with Unity Technologies or its affiliates. "Unity" is a trademark or registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.












