Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows SDK 18362 on Hololens 1 (build with MRTKv2 RC2.1) #5246

Closed
timgoeij opened this issue Jul 9, 2019 · 12 comments
Closed

Windows SDK 18362 on Hololens 1 (build with MRTKv2 RC2.1) #5246

timgoeij opened this issue Jul 9, 2019 · 12 comments
Labels
Bug Platform - HoloLens - First Gen Issues specific to Microsoft HoloLens

Comments

@timgoeij
Copy link

timgoeij commented Jul 9, 2019

Describe the bug

When building the ObjectCollection sample in unity it builds correct, when deploying in vs2017 to HoloLens 1. I get folowing two errors described in the screenshot.

To reproduce

Steps to reproduce the behavior:

  1. Go to 'ObjectCollection Sample.'
  2. Place Object Collection Sample in Build Settings
  3. Build the application with MRTK Build Menu
  4. Open visual studio project in VS2017
  5. Deploy application to HoloLens 1
  6. See Errors

Expected behavior

A deploy at HoloLens 1 without compile errors in VS 2017

Screenshots

image
image
image

Your Setup (please complete the following information)

  • Unity Version [e.g. 2019.7.1f1]
  • MRTK Version [e.g. v2.0.0 RC 2.1]
  • VS2017 15.9.13

Target Platform (please complete the following information)

  • HoloLens

Additional context

I have tried both the recommend settings for MRTK 2.0.0 RC 2.1 and the build settings for HoloLens 1

@timgoeij timgoeij added the Bug label Jul 9, 2019
@wiwei
Copy link
Contributor

wiwei commented Jul 9, 2019

@timgoeji, can you re-type the Unity version? I think that there's just 2019.1, 2019.2, 2019.3, 2019.4.LTS.

The configuration looks to be okay (i.e. especially the one that says "any device" up top)

@timgoeij
Copy link
Author

@wiwei

I am sorry, it must be Unity 2019.1.7f1

@Yoyozilla
Copy link
Contributor

@wiwei any update?

@wiwei wiwei added 0 - Backlog Platform - HoloLens - First Gen Issues specific to Microsoft HoloLens labels Jul 24, 2019
@wiwei
Copy link
Contributor

wiwei commented Jul 24, 2019

Sorry for the delay here - I'll have access to my device again tomorrow and will add this to my TODO list for Thursday.

@wiwei
Copy link
Contributor

wiwei commented Jul 25, 2019

Okay I just gave this a shot on latest 2019.1.xf, I was able to deploy to HL1.

This looks very similar to:
https://developercommunity.visualstudio.com/content/problem/376860/hololens-uwp-app-deploying-to-local-machine-receiv.html

@timgoeij, can we try something here - if the MRTK isn't involved at all (i.e. just build an empty scene and deploy to HL1) do you get the same error?

i.e. if you follow https://docs.microsoft.com/en-us/windows/mixed-reality/holograms-101

This seems like it's probably something to do with Unity/VS/HL1.

It might be worth also sharing out the generated .sln (and assets) so that we can see if we can repro with that (and thus if it's a device issue, or software/configuration issue)

@timgoeij
Copy link
Author

timgoeij commented Jul 25, 2019 via email

@wiwei
Copy link
Contributor

wiwei commented Jul 25, 2019

@timgoeij Understood! Whatever data you can share would be helpful for us.

@timgoeij
Copy link
Author

timgoeij commented Aug 5, 2019

@wiwei

https://we.tl/t-tUtqFDL3jD

With this link you can download the whole the solution that unity has generated from our project with the build files. which vs has made when we deploy to the HL1.

@Troy-Ferrell
Copy link
Contributor

@timgoeij
If using the build window, this is probably fixed by #5877

Try building with regular Unity build:

In the VS solution, not Unity, right click your UWP project and select Properties. Then under the General tab make sure
Target Platform Version => 10.0.18362.0
Target Platform Min Version => (basically anything but will probably be 10.0.10240.0)

@IfnoLee
Copy link

IfnoLee commented Sep 29, 2019

Same problem ,but my project using SDK MRTK v2.
#6116

@stale
Copy link

stale bot commented Feb 27, 2020

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

@stale stale bot added the Stale label Feb 27, 2020
@stale
Copy link

stale bot commented Mar 28, 2020

This issue has been closed by an automated process because it is stale. If this is still an issue please add a new comment with more recent details and repro steps.

@stale stale bot closed this as completed Mar 28, 2020
@keveleigh keveleigh removed the Stale label May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Platform - HoloLens - First Gen Issues specific to Microsoft HoloLens
Projects
None yet
Development

No branches or pull requests

6 participants