Innoactive / VRTK-Windows-MR-Extension

Extension for VRTK to include Windows Mixed Reality controller visualization with GLTF
MIT License
18 stars 5 forks source link

GLTF could not be found #3

Closed qubitz closed 3 years ago

qubitz commented 6 years ago

Hi there, I think I have a simple issue of my own doing. I'm getting this error after adding this repo to my project:

Assets/Extensions/VRTK-Windows-MR-Extension/GLTF/Scripts/GLTFUnityHelpers.cs(113,23): error CS0246: The type or namespace name `GLTF' could not be found. Are you missing an assembly reference?

Do I need to include the UnityGLTF repo in my Unity project?

I followed instructions for setting up the project for WMR controller models through the readme in the WMR SDK in VRTK and the readme in this repo. I moved the UMP folder next to Assets, but I'm a bit lost as to how to fix the error.

amrittb commented 6 years ago

Having the same issue. Any way to fix this?

qubitz commented 6 years ago

I haven't found any real solution, but instead have been using SteamVR for Windows MR and that has the controller model working great. Would love a better solution though...

amrittb commented 6 years ago

Oh. Could you elaborate on how you got the controller model using SteamVR?

qubitz commented 6 years ago

Absolutely. It works quite well actually.

1) Setup SteamVR on Steam 2) Download Windows Mixed Reality for SteamVR on Steam. 3) Start the Windows Mixed Reality Portal 4) Start the Windows Mixed Reality for SteamVR application 5) Set VRTK to use the SteamVR setup 6) Hitting play will load up the SteamVR which will hook into MWR for SteamVR and have the WMR controller model

amrittb commented 6 years ago

So, you are actually building for Steam VR instead of changing to UWP. I knew that worked, but hadn't noticed the correct controller models loading. Thanks for that info.

tomwim commented 6 years ago

@qubytes @amrittb About the Error: Did you download the project as ZIP or cloned the repo? There is a github problem when downloading the ZIP that DLLs are marked unsafe and therefore are not recognized by Unity

You also only need this repo if you want to build for UWP. Steam VR will load the controllers on it's own. Steam VR has it's downsides though, but to be fair, so has UWP ;)

amrittb commented 6 years ago

Yeah. It seems downloading the ZIP didn't include the DLLs.

tomwim commented 6 years ago

You can find a unity package and a zip in releases now