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.
Options

Network capability in hololens App

Hi,

I am making http request within my hololens App. But got the following erroor. How can I ass the "Network capability"

THank,

Exception thrown: 'System.UnauthorizedAccessException' in System.Net.Http.dll
WinRT information: A network capability is required to access this network resource
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.ni.dll
WinRT information: A network capability is required to access this network resource

Answers

  • Options
    Alec_HAlec_H ✭✭

    Hello @Fireman did you by chance select that check box in unity? There is a newtwork check box in unity build settings. File-Buildsettings-Playersettings then in the inspector window under Publishing Settings there is Capabilities and a bunch of check boxes. Make sure internetClient and all of that is enabled. Hope this helped!

Sign In or Register to comment.