无法使用MRTK v2.0.0-RC1进行构建 [英] Cannot build with MRTK v2.0.0-RC1

查看:425
本文介绍了无法使用MRTK v2.0.0-RC1进行构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾尝试在Unity 2018.3.10f1上构建新MRTK版本2.0.0-RC1的场景示例,但是每次出现每个示例都会出现一个构建错误,其中指出: 找不到类型或名称空间名称"HandJointKind"(您是否缺少using指令或程序集引用?) 找不到类型或名称空间名称"HandMeshObserver"(您是否缺少using指令或程序集引用?) 找不到类型或名称空间名称"JointPose"(您是否缺少using指令或程序集引用?)

I had tried to make builds of the scene examples of the new MRTK version 2.0.0-RC1 on Unity 2018.3.10f1 but every time with every example there's a build error which says: The type or namespace name 'HandJointKind' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'HandMeshObserver' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'JointPose' could not be found (are you missing a using directive or an assembly reference?)

在哪里可以找到该命名空间的库?

Where do I get the library for this namespaces?

推荐答案

这些类型是即将发布的UWP SDK版本18362的一部分.

These types are part of the upcoming UWP SDK version 18362.

https://www.microsoft.com/下载10.0.18362.1 zh-cn/software-download/windowsinsiderpreviewSDK

在"Unity构建设置"窗口中,将目标SDK版本"更改为10.0.18362.0,并确保最低SDK"为10.0.10240.0.

In the Unity Build Settings window, change the Target SDK Version to 10.0.18362.0, and make sure that Minimum SDK is is 10.0.10240.0.

这使我摆脱了此处列出的问题.然后我在尝试构建结果解决方案时遇到错误.我必须将所有项目升级到C#语言版本7.2.

This got me past the issue listed here. Then I ran into errors while trying to build the resulting solution. I had to upgrade all projects to C# language version 7.2.

这篇关于无法使用MRTK v2.0.0-RC1进行构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆