Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

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:
    23
    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:
    23
    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:
    23
    And yes, it was using the new XR system plugin.