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.

Hololens UnityWebRequest issues.

Hello guys.

I'm trying to make a Web Request with UnityWebRequest();
So far I'm using this following code called with a StartCoroutine(webRequest());

IEnumerator webRequest() {
UnityWebRequest myWr = UnityWebRequest.Get("http://jsonplaceholder.typicode.com/posts/1");
yield return myWr.Send();

    if (myWr.isError) {
    } else {

I've changed both InternetClient and InternetClientServer to be active in the publishing settings, and made sure that the Hololens have working internet. The function is working fine in Unity play mode, but on hololens I get "Cannot reach destination host"

Any idéas?



Best Answer

  • Accepted Answer

    I figured out my issue. Apperently after changing my Capabilities in PlayerSettings/PublishingSettings, unity didn't overide the old appxmanifest, but only created a new Temp appxmanifest which weren't in use by my app. I had to manually edit my package.appxmanifest before the capabilitys were in place.

    I assumed that unity automatically changed the package.appxmanifest after I saved my changes.


Sign In or Register to comment.