Using VRTK as a submodule works just fine! Steps:
Set up symlinks for git on Windows:
To allow symlinks you need to use Windows Vista or later, have admin rights or a specific privilege and use NTFS: https://github.com/git-for-windows/git/wiki/Symbolic-Links Install the latest git via https://git-scm.com/downloads and make sure to use the installer. Make sure to at least use "Use Git from the Windows Command Prompt" and at the last step make sure to tick the checkbox "Enable symbolic links".
- Add VRTK as a submodule to
MyProject\Submodules\VRTK
or wherever you like in your project, but not in theAssets
folder Unity uses. The following steps will use the example path. - Open a command prompt as administrator.
cd
intoMyProject\
.- Run
git config core.symlinks true
. This will tell git to allow symlinks for this repo only. cd
to where you want your VRTK copy to be linked to, e.g.MyProject\Assets\Libraries\
.- Run
mklink /d "VRTK" "..\..\Submodules\VRTK\Assets\VRTK"
When checking out make sure you run the command prompt as administrator, otherwise I can't get it to use the symlink properly.