Coder Social home page Coder Social logo

Comments (7)

reillydonovan avatar reillydonovan commented on July 21, 2024

This is what is returned shortly after the build begins, then crashes:

Severity Code Description Project File Line Suppression State
Error The command ""C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\project.lock.json" -bits=32 -configuration=Release -removeDebuggableAttribute=False -uwpsdk=10.0.15063.0 -path="." -path="C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x86\Release" "C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\Assembly-CSharp.dll" "C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\UnityEngine.dll" "C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\UnityEngine.Timeline.dll" "C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\nunit.framework.dll" "C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\UnityEngine.UI.dll" "C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\UnityEngine.HoloLens.dll" "C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\UnityEngine.Networking.dll"" exited with code 1. HololensReceiver C:\Users\reillydonovan\Downloads\LiveScan3D-Hololens-master\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver01\HololensReceiver\HololensReceiver.csproj 279

from livescan3d-hololens.

MarekKowalski avatar MarekKowalski commented on July 21, 2024

Hi,

I updated Unity, and it all builds fine for me with Visual Studio 2017 community.
I did not actually check if it works on the HoloLens as I do not have one with me now. I understand that for you it crashes in the building step?

I would suggest trying to rebuild the NetworkCommunication library (you have to place the dll and winmd files in Assets/plugins/).
Also, did you remember to set XAML instead of D3D in Unity build settings?

Let me know if I can help you further.

Marek

from livescan3d-hololens.

reillydonovan avatar reillydonovan commented on July 21, 2024

The error returned above is from Visual Studio when trying to deploy to the hololens.
I can successfully build a visual studio solution from Unity but I cannot successfully deploy the Visual Studio solution to the hololens.

Are you using the latest windows 10 creators update?

I did change the settings to XAML instead of D3D. What Windows SDK are you using?
Are there any additional settings for publishing that you are including?
I've been checking what Windows recommends for publishing to the hololens:

Virtual Reality Supported: Windows Holographic: 16 bit.

When you go to deploy the Visual Studio Solution do you change all of the recommended settings? Windows.Universal to Windows.Holographic? Debug to Release? ARM to x86?

To rebuild Network Communication should I just open it is VS and build it then copy and paste the dll as you describe?

Thanks a lot for your help, I can't wait to get this working!

from livescan3d-hololens.

reillydonovan avatar reillydonovan commented on July 21, 2024

So after rebuilding the Network Communication VS project and dropping in the .dll and winmd this is what I'm returned from VS when trying to build to the hololens:

Severity Code Description Project File Line Suppression State
Error There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture, "AMD64", of the implementation file "D:\UnityProjects\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver08\HololensReceiver\NetworkCommunication.dll" for "D:\UnityProjects\LiveScan3D-Hololens-master\HololensReceiver\Apps\Receiver08\HololensReceiver\NetworkCommunication.winmd". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and implementation file, or choose a winmd file with an implementation file that has a processor architecture which matches the targeted processor architecture of your project. HololensReceiver

from livescan3d-hololens.

MarekKowalski avatar MarekKowalski commented on July 21, 2024

Hi,

I built using SDK version 10.0.15063. I also change ARM to x86, it builds in both Debug and Release modes.
The error you showed in the second message suggests that you have x64 set somewhere in the NetworkCommunication project. I can't tell where it is exactly, I suggest you try googling this error.

Let me know if there is any other way I can help.

Marek

from livescan3d-hololens.

reillydonovan avatar reillydonovan commented on July 21, 2024

The issue is the latest version of Visual Studio, version 1.11.33288.831
Using the previous version everything publishes perfectly, thanks for this great toolkit~!

from livescan3d-hololens.

MarekKowalski avatar MarekKowalski commented on July 21, 2024

I am glad to hear you were able to solve it!

from livescan3d-hololens.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.