microsoft / MixedRealityDesignLabs_Unity

Mixed Reality Design Labs share experimental samples, explorations and learning from Windows Mixed Reality Design group. If you are looking for official toolkit, please use Mixed Reality Toolkit
MIT License
408 stars 110 forks source link

Error: The type or namespace name `XR' does not exist in the namespace `UnityEngine'. #89

Closed nick7ikin closed 6 years ago

nick7ikin commented 6 years ago

I have installed 2017.1.0f3 version of Unity. Attempting to run Sample project got the following error

Assets/MRDesignLab/HUX/Scripts/Interaction/InteractionManager.cs(929,62): error CS0234: The type or namespace name XR' does not exist in the namespaceUnityEngine'. Are you missing an assembly reference?

Seems this namespace 'XR' was added in 2017.2.0 and it is not supported in Unity 2017.1.0. I followed these instructions:

4db7b2b1ca470f2f4044f52aab3f3b7a

And it seems that during git submodule update HUX is updated to the latest version that relies on latest Unity version. Could you please update the instructions to avoid this error?

nick7ikin commented 6 years ago

Not an issue. I've got the reason. At first I installed Unity version 2017.2.0 and it suggested update the API. After updating the project I got many errors in logs and installed version 2017.1.0. After that I rolled back changes in MRDesignLabs_Unity, but submodules remained with updated API.