【问题标题】:Unity kinect v2 windows storeunity kinect v2 windows store
【发布时间】:2015-07-16 14:37:28
【问题描述】:

我正在尝试在 Unity3D 中构建一个项目,该项目使用适用于 Windows 商店的 Kinect v2。 要从统一构建一个 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.

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

【问题讨论】:

    标签: unity3d windows-store-apps kinect


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-06-13
      • 2018-01-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-11-05
      相关资源
      最近更新 更多