- Home /
Plugin settings for Windows Store build with Kinect
With Kinect package there are 3 folders with KinectUnityAddin plug in, (one is Metro which is the specific for Window store.) From what I understand from the Unity doc's there's some tweaking involved for W Store, there should be a double plugin for the Editor, however I just can't figure exactly how to set it up to be sure to get it right. I have the new 5.2 update, I'm not sure I'm reading the right doc's for everything. I did some testing and changed settings for x86 and/or x86_64 as editor, managed to get it to build to Visual Studio but it did not work as it should, I could do more "trial and error", but I would like to understand what I'm doing.
The folders in the Plugins folder are:
Assets/Plugins/Metro/KinectUnityAddin.dll
Assets/Plugins/x86/KinectUnityAddin.dll
Assets/Plugins/x86_64/KinectUnityAddin.dll
The Metro plugin seem to be set up right, as WSAPlayer (but Platform settings are SDK: Any SDK, CPU: Any CPU (should that be changed to 8.1 ?) As for the other two, I don¨t know, under the Windows Store icon they get "Any Platform" setting.
If I run the build without changing anything, this is the error message:
Plugin 'KinectUnityAddin.dll' is used from several locations: Assets/Plugins/x86/KinectUnityAddin.dll would be copied to /KinectUnityAddin.dll Assets/Plugins/x86_64/KinectUnityAddin.dll would be copied to /KinectUnityAddin.dll Assets/Plugins/Metro/KinectUnityAddin.dll would be copied to /KinectUnityAddin.dll Please fix plugin settings and try again. Plugins colliding with each other.
Anyone who understands this better?
To add some info, I've installed VS 2013, added webcam and mic under Player settings/Capabilities. When I manage to get a build to VS with some of my testsettings, game debugs and run but $$anonymous$$inect won't turn on Also followed the conclusions in these posts without luck: http://forum.unity3d.com/threads/cant-build-project-from-unity-5-using-the-kinect-for-windows-store.342187/ http://forum.unity3d.com/threads/anyone-tried-kinectv2-for-windows-plugin-then-build-it-to-windows-store.286114/ as I mentioned before, unsure if 5.2 version needs some further setting
Answer by vladrybak · Sep 26, 2015 at 05:15 PM
DLL in Metro folder is a real dll for Windows store. Two others are fake dlls for x86 and x64 Unity Editor. If you want build to windows store 8.1 you should set Metro Dll SDK to 8.1. Fake Dlls platform should be set to Editor. For fake x86 dll choose cpu x86 and for fake x64 choose x64.
Answer by NickMx · Sep 26, 2015 at 06:57 PM
Thanks for clarification! Got it allright now. And I should also add that don't forget to allow apps (VS) use webcam and mic! And if one would like to use Visual Studio 2015 that follow Unity 5.2, you can add full install for Windows store and more.
Nick, I am trying to use $$anonymous$$inect v2 on UWP 10 App, however the kinect isn't starting at all, did you face this issue before???
Your answer
![](https://koobas.hobune.stream/wayback/20220612034834im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
UWP build not working 1 Answer
Native extension for OSXStandalone target not found 4 Answers
How to have a plugin work on Standalone, iOS, WSA, and Editor? 0 Answers
Failure UWP with Kinectv2 0 Answers
Universal Windows Platform - Huuuuuuuge Build Error 0 Answers