- Home /
Cant build project from Unity 5 using the Kinect for Windows store
I am trying to build a project in Unity3D which uses the Kinect v2 for The Windows store. To build a windows store app from unity it 1st builds a visual studio project from which you then build the final app. I am getting errors when I try to build the visual studio project. Some guys seem to have figured it out for Unity 4 here, Though I have tried everything they suggested and read through all the posts and links in great detail yet I am still having the same error.
Here is my error
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.
Answer by deltron1830 · Jul 21, 2015 at 04:05 PM
Ok I've got this working for Unity 5
Set up the dll in metro folder to build for WSAPlayer
Tick microphone and webcam boxes in player settings, publishing settings, capabilities
Build for windows 8.1 (do not tick C# project box)
One project will be created in the VS solution. Right click on references\ add reference\Windows8.1\Extensions\ then tick the box for WindowsPreview.Kinect (x86 windows 8.1 version)
Your answer

Follow this Question
Related Questions
Plugin settings for Windows Store build with Kinect 2 Answers
kinect dllnotfoundexception uwp 0 Answers
Saving the progress of a Unity game in isolated storage 0 Answers
Problem in script when changing the platform. 1 Answer
UWP Build Error 2 Answers