unity kinect v2 windows 商店

Unity kinect v2 windows store

我正在尝试在 Unity3D 中构建一个项目,该项目将 Kinect v2 用于 Windows 商店。 要从 unity 构建一个 windows 商店应用程序,它首先构建一个 visual studio 项目,然后从中构建最终的应用程序。 我在尝试构建 visual studio 项目时遇到错误。 The exact same problem as posted here in fact 没有发布解决方案。 这是我的错误

    First-chance exception at 0x76004598 in Template.exe: Microsoft C++ exception: Platform::ClassNotRegisteredException ^ at memory location 0x0643F1C0. HRESULT:0x80040154 Class not registered

    WinRT information: Class not registered

    Stack trace:
    combase.dll!76727455()
    vccorlib120_app.dll!5003a438()
    vccorlib120_app.dll!5003b337()
    KinectUnityAddin.dll!50061296()
    KinectUnityAddin.dll!500745af()
    KinectUnityAddin.dll!50062eef()

    If there is a handler for this exception, the program may be safely continued.

我想知道堆栈溢出社区是否对这个问题有任何见解。

好的,我已经为 Unity 5 工作了

  1. 在 metro 文件夹中设置 dll 以构建 WSAPlayer
  2. 在播放器设置、发布设置、功能中勾选麦克风和网络摄像头框
  3. 为 windows 8.1 构建(不要 勾选 C# 项目框)
  4. 将在 VS 解决方案中创建一个项目。右键单击 references\ 添加 reference\Windows8.1\Extensions\ 然后勾选 WindowsPreview.Kinect (x86 windows 8.1 version)