A productive toolkit for rapidly building spatial computing solutions in the Unity software.
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 (or above) using 3D Template or open an existing project.
- Ensure
Virtual Reality Supported
is checked:- In the Unity software select
Main Menu -> Edit -> Project Settings
to open theProject Settings
window. - Select
Player
from the left hand menu in theProject Settings
window. - In the
Player
settings panel expandXR Settings
. - In
XR Settings
ensure theVirtual Reality Supported
option is checked.
- In the Unity software select
- Ensure the project
Scripting Runtime Version
is set to.NET 4.x Equivalent
:- In the Unity software select
Main Menu -> Edit -> Project Settings
to open theProject Settings
inspector. - Select
Player
from the left hand menu in theProject Settings
window. - In the
Player
settings panel expandOther Settings
. - Ensure the
Scripting Runtime Version
is set to.NET 4.x Equivalent
.
- 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/ExampleScene
scene. - Enable
Maximize On Play
in 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.