MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Unable to Deploy from Build Window

Open mavasher opened this issue 8 years ago • 11 comments

Overview

Unable to deploy to Hololens.

Expected Behavior

After successfully building a barebones project and building the Appx, the program deploys correctly to the Hololens

Actual Behavior.

Builds project correctly. Appears to connect to Hololens. Does not deploy to the Hololens when pressing "Install"

Steps to reproduce

The correct WiFi IP address is provided and when I press "Connect" under deploy options, I get the correct Hololens device name. When I press "Open Device Portal" - IE opens the Hololens Device Portal correctly without issue.

When I press "Install" - I get a Network Error: Request timeout. Then "Failed to install [APP].appx on [DEVICE].

See screenshot. image

Unity Editor Version

2017.3.1f1

Mixed Reality Toolkit Release Version

2017.2.1.2

Hololens OS Version

10.0.14393.2068

Windows OS Version (Development PC)

10.0.16299 Build 16299

mavasher avatar Mar 14 '18 00:03 mavasher

Me too .

jerrygg avatar Mar 14 '18 01:03 jerrygg

Try changing the timeout for the webrequest to be longer in the BuildAndDeployPortal.

StephenHodgson avatar Mar 14 '18 03:03 StephenHodgson

@StephenHodgson : This fixed it!

in BuildDeployPortal.cs I changed line 30 and line 31 to the following: private const float TimeOut = 20.0f; private const float MaxWaitTime = 40.0f;

mavasher avatar Mar 14 '18 03:03 mavasher

The same increase to the timeout allowed for deploying for me also.

XPav avatar Apr 10 '18 19:04 XPav

Fixed in #1904

StephenHodgson avatar Apr 10 '18 20:04 StephenHodgson

@StephenHodgson is this change also part of #2127?

david-c-kline avatar May 25 '18 04:05 david-c-kline

No, but I could still add it. Not sure if I ported the rest time outs that I have in my private branch.

StephenHodgson avatar May 25 '18 05:05 StephenHodgson

I got the latest release but this issue still exists. @StephenHodgson do I need to manually fix it?

LaylaGor avatar Oct 01 '18 15:10 LaylaGor

I think it depends on the size of your build. I'd increase the timeout and wait time described above.

StephenHodgson avatar Oct 01 '18 16:10 StephenHodgson

I think it depends on the size of your build. I'd increase the timeout and wait time described above.

I doubled it and its working now

LaylaGor avatar Oct 02 '18 11:10 LaylaGor

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.

wiwei avatar Apr 11 '19 20:04 wiwei