Search Unity

Cannot build exe from XR project for some reason

Discussion in 'AR/VR (XR) Discussion' started by firestorm185, Jun 12, 2020.

  1. firestorm185

    firestorm185

    Joined:
    Sep 23, 2014
    Posts:
    24
    I've been working on a Unity XR project for a few days, and I have everything working just fine in-engine,
    but when I try to export an exe it fails, and the error message is very confusing. I'd really appreciate any guidance! Thanks!

     
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    What version of Unity?
    Is this using Legacy XR or the new XR Plug-in system?
    What provider(s) are you targeting in your standalone build?
    What actual standalone platform are you targeting? I assume Windows since you mention exe but that can be rather generic so want to make sure.
     
  3. firestorm185

    firestorm185

    Joined:
    Sep 23, 2014
    Posts:
    24
    Turns out the issue was a corrupted level save file. I copied all the level assets to a new scene and it solved all those issues!
     
  4. firestorm185

    firestorm185

    Joined:
    Sep 23, 2014
    Posts:
    24
    And yes, it was using the new XR system plugin.