Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

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.

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, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

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.