Search Unity

Unable to Build onto Hololens

Discussion in 'VR' started by mavasher, May 15, 2016.

  1. mavasher

    mavasher

    Joined:
    Nov 20, 2013
    Posts:
    13
    Current Setup:
    Unity 5.4.0.16b with the Metro support package installed.
    Visual Studio Update 2

    Unity builds the C# project fine, I then go to Visual Studio to push to the hololens which I have connected via USB. I've edited the Package.appxmanifest as specified in the documentation. When I Debug|"Start without Debug", I get the following:

    upload_2016-5-15_14-3-40.png

    I've tried this on two separate (extremely basic) projects of my own creation and it's tried the whole process with the Origami project files. Same results.

    Any help you have would be great- I'm stuck here.
     
  2. mavasher

    mavasher

    Joined:
    Nov 20, 2013
    Posts:
    13
    Still stuck, but I was able to get more information on the errors involved. The main error in the debug reports:
    System.Exception: Assembly Projects\Holotest\App\Unprocessed\UnityEngine.Networking.dll does not exist!
    at usw.Program.CheckAssemblyPath(String assemblyPaths)
     
  3. mavasher

    mavasher

    Joined:
    Nov 20, 2013
    Posts:
    13
    RESOLVED:

    For those that have issues in the future- I needed to fix two issues.
    1) Make sure that your pathname contains no spaces- it breaks the string and Visual Studio doesn't know how to handle it.
    Make you folders "UnityProjects" instead of "Unity Projects"

    2) The most recent Windows 10 SDK is 10.0.10586.212 not 10.0.10586.0 as it suggests in the documentation. Thus you have to change both max and min versions to the current Windows 10 SDK version you are using.

    That fixed it for me.