Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Build failed on VR Unity project

Discussion in 'VR' started by orisil, Dec 6, 2021.

  1. orisil

    orisil

    Joined:
    Oct 11, 2017
    Posts:
    4
    Hey everyone!
    I started working on a VR project on Unity version 2021.2.0f1 with XR Toolkit.
    There's not much to the project so far.
    Yesterday I managed to build and run my project onto the Oculus quest with no problems.
    Today However, the build fails :(
    And I don't understand what is the reason because I hardly touched the project since yesterday.

    This is the error I'm getting while trying to Build & Run Onto the Oculus Quest headset:
    upload_2021-12-6_9-21-55.png



    Please help me I would be very grateful.

    Thanks!
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,864
    Close the project, delete library folder (and temp folder if it's still there), open project (will re import), try again.
    And update to 2021.2.5f1
     
  3. orisil

    orisil

    Joined:
    Oct 11, 2017
    Posts:
    4
    Have you done this and it worked out for you?
    I'm scared that it'll mess things up.
     
  4. NemesisWarlock

    NemesisWarlock

    Joined:
    Jan 21, 2017
    Posts:
    140
    Deleting the library folder will not do anything to your project. it will simply cause Unity to rebuild all your scripts and re-import your assets.
     
    DevDunk likes this.
  5. the_real_apoxol

    the_real_apoxol

    Unity Technologies

    Joined:
    Dec 18, 2020
    Posts:
    467
    Deleting the library folder is completely safe.
     
    DevDunk likes this.
  6. orisil

    orisil

    Joined:
    Oct 11, 2017
    Posts:
    4
    Hey guys many thanks! It seemed to work (so far haha)
     
    DevDunk likes this.