Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

No capture devices are available on HoloLens when taking a picture

Hello guys,

I have some solid VR experience, but never really worked with AR or Hololense in practical aspects besides theoretical lectures about it.
I tried building this tutorial: https://docs.microsoft.com/de-de/windows/mixed-reality/mr-azure-310 on my hololens 1. There are no errors while building it or other stuff. Only difference is probably that I'm using Unity 2018.4.19f1 and im not using the C# Scripting backend, instead im using IL2CPP (is this a problem btw?)

So, I launch this app on my hololense and try to detect and label my images, it is only showing the camera thing that its doing a snapshot and nothing after that happens. I looked into the Output in my Visual Studio and found that this error is occuring everytime I'm taking a picture:

Exception thrown at 0x777930D2 (KernelBase.dll) in Tutorial.exe: WinRT originate error - 0xC00DABE0 : 'No capture devices are available.'.
Exception thrown at 0x777930D2 (KernelBase.dll) in Tutorial.exe: WinRT originate error - 0xC00D36B3 : 'The stream number provided was invalid.'.

I already double checked if the hololense has permission to use the webcam and it does, so that should not be the case.
I debuged the filepath where the image should be saved and its always empty, thats why my guess is, that there is no image taken.

I tried googling and found some posts about that this issues is fixed in unity 2018.3 but it still occurs for me.

Would really appreciate some help!
Thanks!

Tagged:

Answers

  • I fixed it by changing the scripting background to .NET instead of IL2CPP. Even though Unity showed a warning that .NET is deprecated in later unity versions.

Sign In or Register to comment.