Unity DLLNotFoundException问题 [英] Unity DLLNotFoundException issue

查看:781
本文介绍了Unity DLLNotFoundException问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

所以刚刚为Unity导入了最新的Kinect v2 SDK( Kinect.2.0.1410.19000)
我打开那里演示场景并点击播放,我得到一个DLLNotFoundException。还有其他人得到同样的东西吗?




错误在此行固化

So just imported the latest Kinect v2 SDK for Unity (Kinect.2.0.1410.19000). I opened up there demo scene and hit play and I'm getting a DLLNotFoundException. Is anyone else getting the same thing?

The Error is curing at this line

 RootSystem.IntPtr objectPointer = Windows_Kinect_KinectSensor_GetDefault();

非常令人沮丧,因为DLL在那里并且在正确的文件夹中但是Unity似乎无法找到它们。



很高兴知道导入此软件包时是否有其他人遇到同样的问题。

Pretty frustrating, because the DLL are there and in the right folders but unity doesn't seem to be able to find them.

Be good to know if anyone else gets the same issue when importing this package.

我也在使用Unity3d Pro

Also I am working in Unity3d Pro

谢谢!




推荐答案

演示场景不包含对插件的引用。您需要使用Assets>  Import Package> Custom package选项导入插件在窗口中,导航到解压缩文件的位置并导入Kinect插件.unitypackage
文件。

The demo scenes do not include references to the plug-in. You need to use the Assets > Import Package > Custom package option to import the plug-ins. From the window, navigate to where you unzipped the files and import the Kinect plug-in .unitypackage file.

请参阅Jumpstart视频,模块4了解步骤拍摄:
http://channel9.msdn.com/Series/Programming- Kinect-for-Windows-v2 / 04

See the Jumpstart video, module 4 for the steps to take: http://channel9.msdn.com/Series/Programming-Kinect-for-Windows-v2/04


这篇关于Unity DLLNotFoundException问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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