简体   繁体   English

将 MRTK 和 OpenXR 插件安装到 Unity 项目后,出现编译器错误:找不到类型或命名空间名称

[英]After installing MRTK and OpenXR plugin to Unity project I get compiler errors: The type or namespace name could not be found

So I have been trying to follow the tutorial found at: https://medium.com/@perudayani/connecting-hololens-part-3-of-3-f010481f288b , I got through part 1-2 no problem.所以我一直在尝试遵循以下教程: https://medium.com/@perudayani/connecting-hololens-part-3-of-3-f010481f288b ,我通过了第 1-2 部分没问题。 But in part 3 they referenced an old MRTK package, so I try to install the new MRTK using the MRFeatureTool and the documentation at https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/new-openxr-project-with-mrtk .但在第 3 部分中,他们引用了旧的 MRTK package,所以我尝试使用 MRFeatureTool 和 https 上的文档安装新的MRTK://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/ new-openxr-project-with-mrtk I chose only the features: "Mixed Reality toolkit Foundation", "Mixed Reality Tollkit Tools", and "Mixed Reality OpenXR Plugin".我只选择了以下功能:“混合现实工具包基础”、“混合现实 Tollkit 工具”和“混合现实 OpenXR 插件”。 After I set it up and followed the microsoft docs guide, my project has the following compiler errors as seen from the picture link "compiler errors on unity photo".在我设置它并遵循 microsoft 文档指南后,我的项目有以下编译器错误,如图片链接“unity photo 上的编译器错误”所示。 Before I installed MRTK and the OpenXR plugin to my Unity project I didn't have any compiler errors.在我将 MRTK 和 OpenXR 插件安装到我的 Unity 项目之前,我没有任何编译器错误。 My version of unity is 2020.2.3f1 I can't seem to find a solution, I would really appreciate some help.我的统一版本是 2020.2.3f1 我似乎找不到解决方案,非常感谢一些帮助。 I want to fix these compiler errors, and I'm building this project to use for a senior design project.我想修复这些编译器错误,并且我正在构建这个项目以用于高级设计项目。 Thank you.谢谢你。 compiler errors on unity photo unity photo 上的编译器错误

This is a known issue with MRTK and Open XR, and it has been fixed in later Unity versions, please refer to Known issues in Unity versions and packages - Mixed Reality |这是 MRTK 和 Open XR 的已知问题,已在后续 Unity 版本中修复,请参阅Unity 版本和包中的已知问题 - 混合现实 | Microsoft Docs , and try with Unity 2020.3.35f1 . Microsoft Docs ,并尝试使用Unity 2020.3.35f1

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 以前工作的 Unity 项目中出现多个脚本和命名空间错误。 找不到类型或命名空间名称“GUIColorOverride” - Multiple script and namespace errors on a previously working Unity project . Type or namespace name 'GUIColorOverride' could not be found Unity - 升级项目后,在命名空间“UnityEngine”中找不到类型名称“Rigidbody2D” - Unity - type name 'Rigidbody2D' could not be found in the namespace 'UnityEngine' after upgraded project Unity:找不到类型或名称空间名称“功能” - Unity: The type or namespace name 'function' could not be found 找不到类型或命名空间名称 Unity - The type or namespace name could not be found Unity 找不到类型或命名空间名称“NUnit”| 统一 - The type or namespace name 'NUnit' could not be found | Unity 当我在 Unity 中构建时。 我收到一个名为“错误 CS0246:找不到类型或命名空间名称‘WebSocketSharp’”的错误 - When I build in Unity. I get an error called "error CS0246: The type or namespace name 'WebSocketSharp' could not be found" 找不到类型或命名空间名称“RenderModel”Unity3d SteamVR - The type or namespace name 'RenderModel' could not be found Unity3d SteamVR 如何统一修复“找不到类型或命名空间名称”错误? - How to fix 'The type or namespace name could not be found ' error in unity? Unity 构建错误:找不到类型或命名空间名称“Editor” - Unity build error: The type or namespace name 'Editor' could not be found '找不到类型或命名空间名称'如何在Unity中解决 - 'The type or namespace name could not be found ' how to solve in Unity
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM