Search Unity

Hololens Remoting: Built application crashes on startup

Discussion in 'AR/VR (XR) Discussion' started by KevKevOnFire, Sep 20, 2018.

  1. KevKevOnFire

    KevKevOnFire

    Joined:
    Mar 9, 2015
    Posts:
    6
    I'm trying to adapt an application that builds and deploys to HoloLens to work using HoloLens Remoting. The project works in editor, but when built, crashes shortly after startup. Fixing it has absolutely stumped me.

    The app log shows the following error: "Failed to load 'Microsoft.Perception.Simulation.dll', expected x86 architecture, but was Unknown architecture. You must recompile your plugin for x86 architecture."

    I am building for x86, target platform is PC, Unity version is 2018.2, using IL2CPP and the latest SDK.

    Anyone have any idea what a potential fix could be?
     
  2. lukasz_pasek

    lukasz_pasek

    Unity Technologies

    Joined:
    Oct 16, 2017
    Posts:
    22
    Hi @KevKevOnFire,

    There is a fix for the bug you have mentioned (error: "Failed to Load'Microsoft.Perception.Simulation.dll") on the way. To make sure though it was the reason for the crash you are seeing, are you building UWP or Standalone Windows?
     
  3. KevKevOnFire

    KevKevOnFire

    Joined:
    Mar 9, 2015
    Posts:
    6
    Build was UWP with PC as the target platform.

    Also, we managed to get in contact with a Microsoft rep, and they also said there would be a fix in 2018.3