Linux:System.DllNotFoundException:UnityInterface2.dll

时间:2016-06-01 14:54:55

标签: linux unity3d kinect openni xbox360

我正在尝试运行从中导入的资产 https://www.assetstore.unity3d.com/en/#!/content/10693

它在Windows中工作正常,但我在Linux下面的错误代码

.....code start.......
[DllImport("UnityInterface2.dll", SetLastError=true)]
public static extern int Init(bool isInitDepthStream, bool isInitColorStream, bool isInitInfraredStream);
.......code end........

...error....
System.DllNotFoundException: UnityInterface2.dll
at (wrapper managed-to-native) KinectWrapper:Init (bool,bool,bool)
at KinectManager.Start () [0x00000] in /home/ashok/New Unity Project/Assets/KinectScripts/KinectManager.cs:657
UnityEngine.Debug:LogError(Object)
KinectManager:Start() (at Assets/KinectScripts/KinectManager.cs:808)

1 个答案:

答案 0 :(得分:0)

不支持Linux。它不适用于Linux。该插件仅支持Windows和Mac。而已。即使你在商店看,它说该插件适用于Windows和Mac。从未在任何地方提到过Linux。