HoloLens 空间映射不可用

NPa*_*utt 5 unity-game-engine hololens

我正在编写教程 MR 基础知识 101:https : //docs.microsoft.com/en-us/windows/mixed-reality/holograms-101

并按照本文中的建议进行设置:https : //docs.microsoft.com/en-us/windows/mixed-reality/install-the-tools

但是当我下载 Origami 示例并在推荐版本 2018.3.X 或其他推荐版本 LTS 中在 Unity 中打开它时,我收到错误消息:

Assets\Holograms\Support\Spatial Mapping\SpatialMapping.cs(24,13): error CS0246: The type or namespace name 'SpatialMappingRenderer' could not be found (are you missing a using directive or an assembly reference?)
Run Code Online (Sandbox Code Playgroud)

只有当我在 Unity 版本 2017.2.5f1 中打开它时它才起作用。这是否意味着只有在该版本中才能使用 HoloLens 包?还是我必须为较新的版本单独安装它?

Per*_*zim 2

如果您使用较旧的 Mrtk 版本之一,则必须使用 2017 LTS 版本的 Unity。如果您使用MrtkVnext V1或V2,则必须使用Untiy 2018。

但微软的所有教程都是在 Unity 2017 上使用旧的 Mrtk 版本(也称为 HoloToolKit)完成的......命名方面存在一些混乱。