Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by ArturitoMys · May 01, 2012 at 06:08 PM · errorkinect

Kinect and Unity error at play

Hi I'm new in the world of Unity but i want to collaborate with the community.

I've executed examples and proyects with Kinect and Unity only with oficial software. I've followed some tutorials and examples and I just installed the Miscrosoft Kinect for windows and the GAK package of Unity that is a compilant of resources, projects, examples and prefabs realated to Kinect.

Unfortunately i get an error at the moment of play with the sensor, "HRESULT 0x80310001 The data frame not available" although i play fine without trouble with the sensor and usability in the game, then I stop the program and when i want to play the game again the IDE Unity freeze totally and doesn't let me make anything. I must to stop unity completely (since Task Manager) and re run the Unity application to continue with the development.

Someone have any idea of what's happened with my Unity + Kinect? it's only occuring with Kinect and the sensor.

Thanks a lot

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image HarmonicRadius · Oct 02, 2014 at 06:54 PM 0
Share

Some of these methods seem to not be present in the 2.0 SD$$anonymous$$.

Is there an equivalent of kinectinterop.cs for SD$$anonymous$$ 2.0 ?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by ArturitoMys · May 24, 2012 at 01:29 AM

I got the solution for this ...

First, modify the file KinecInterop.cs replacing all the lines "C:\Program Files (x86)\Microsoft Research KinectSDK\MSRKINECTNUI.DLL" with "C:\Windows\System32\Kinect10.dll"

Second, create a struct like this in the same file:

 public struct NuiStatusProc
 {
 
 }

Then, add the next lines in the NativeMethods method: ...

 [DllImportAttribute(@"C:\Windows\System32\Kinect10.dll", EntryPoint = "NuiSetDeviceStatusCallback")]
 public static extern void NuiSetDeviceStatusCallback(NuiStatusProc callback);
 

After that, in the KinectSensor.cs file, put this line before the catch block insde the Awake function:

 NativeMethods.NuiSetDeviceStatusCallback(new NuiStatusProc());

I need to say that I installed the oficial kinect for windows SDK 1.5 before I modify the files mentioned above.

I hope I could to help to other developers. ArturitoMys

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image himanshu080891 · Mar 15, 2013 at 05:45 AM 0
Share

hey i am getting this error when i replaced the "$$anonymous$$SR$$anonymous$$INECTNUI.DLL's" path... DllNotFoundException: C:\Windows\System32\$$anonymous$$inect10.dll

avatar image falconer · Mar 30, 2013 at 10:56 AM 0
Share

hi i'm using the GA$$anonymous$$ package and I'm getting this error "HRESULT 0x80310001 The data frame not available" whenever i press play in unity editor, how to get rid of this?

avatar image NinjaScout · Mar 25, 2015 at 06:09 PM 0
Share

I'm getting the "DllNotFoundException: C:\Windows\System32\$$anonymous$$inect10.dll" too, and I checked, the file is not there, has anyone figured this out yet?

avatar image ramandesingh88 · Jul 02, 2015 at 06:23 AM 0
Share

Still i get Nui initialization failed . Help me

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Kinect Wrapper Package 2 Answers

[SOLVED] Unhandled Exception: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ReferenceAssemblyAttribute' from assembly 'sysglobl'. 1 Answer

c# parsing error Help please and the error is at where it says public string Name 1 Answer

Unity logs an error whenever I try to deallocate a nativearray, is there a proper way to do it? 1 Answer

Odd scripting error 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges