HoloLens Unity Seed Project
Unity Version: Unity 2019.3.15f1.
Mixed Reality Toolkit Version: MRTK 2.4.0.
Mixed Reality Curriculum: https://aka.ms/MixedRealityCurriculum
Introduction to Mixed Reality with Unity: https://aka.ms/UnityIntroToMixedReality
Mixed Reality Curriculum Youtube Playlist: https://aka.ms/MixedRealityCurriculumVideos.
You can use this repo to get started with HoloLens development with Unity 3D. You can download this repo and open the folder with Unity or clone the git repo by following the setup steps below.
Seed project already has the latest Mixed Reality Toolkit v2 added as an asset. Unused assets will not be included in Unity build. If you prefer to not have the assets, you can delete them anytime.
You can get started with Mixed Reality Toolkit v2 example seens, under Assets > MixedRealityToolkit.Examples > Demos > ... > Scenes.
Find the latest MRTK release notes here.
- Initial support for Unity 2019.3 and the XR SDK architecture.
- Centralized dependencies folder (when using MSBuild for Unity).
- Hand physics service.
- Non-native keyboard (Experimental).
- Hand coach (Experimental).
- Follow solver (Experimental). A solver that matches HoloLens 2 shell behavior.
- ObjectManipulator and BoundsControl (Experimental).
You can clone and delete this repository's history and start a new git project by running the below script. You need to create your own github repo first. Replace with your own github project url.
git clone --depth=1 https://github.com/Yonet/HoloLensUnitySeedProject.git <your-project-name>
// Clone the seed project git clone --depth=1 https://github.com/Yonet/HoloLensUnitySeedProject.git -- Remove the history from the repo rm -rf .git -- recreate the repos from the current content only git init git add . git commit -m "Initial commit" -- push to the github remote repos ensuring you overwrite history git remote add origin email@example.com:<YOUR ACCOUNT>/<YOUR REPOS>.git git push -u --force origin master
How to update your project to latest seed?
Whenever there is a new update for Mixed Reality Toolkit or Azure Spatial Anchors packages, this repo will be updated with the latest version. You can automaticly get the latest packages by adding the seed repo as your upstream and pulling from it.
git remote add upstream https://github.com/Yonet/HoloLensUnitySeedProject.git git pull upstream master
You can check to see if your remote origin and upstream by running:
git remote -v
You can remove the upstream anytime by running:
git remote remove upstream https://github.com/Yonet/HoloLensUnitySeedProject.git