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

Http request does not work on deploy

Hi all,

I am actually developping datavisualisation on Hololens. I do a post request when I enter on trigger.

Everything work good on remote debugging.
But, when I deploy the application on Hololens the request does not work.

I am using HttpClient from Clayton Industries (made for unity).

Any idea?

Answers

  • Options
    james_ashleyjames_ashley ✭✭✭✭

    Hi Jimmy,

    It could be a serialization issue. It's really hard to tell until you remotely debug -- to make debugging easier, you might want to pull the code out into a separate scene and call it from a button. There are always potential incompatibilities between running in the IDE and running in the HoloLens, though, since the .NET versions you are running against are basically different (3.5 vs .NetCore).

    I've found just using WWW to be the easiest path, but this may simply be superstitious on my part after some really bad webservice experiences.

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • Options

    Did you enable capabilities under Publishing Settings?

Sign In or Register to comment.