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. Dismiss Notice

vr escape room tutorial does not build

Discussion in 'Community Learning & Teaching' started by merckkk, Feb 20, 2021.

  1. merckkk

    merckkk

    Joined:
    Feb 18, 2021
    Posts:
    7
    hi all,
    brand new to unity. I've been trying to get this working by following the tutorial. But I can't even get it to build correctly. When I open the finalprototype scene, i get unrecognized and undeclared identifier shader errors. This is when trying to build it for android (to run on a quest 2). I tried building for windows and that fails as well with 31 errors.

    I believe I've followed all the steps in the tutorial correctly. I've also tried a few setting tweaks I've seen people mention here. I am running it under unity 2020.2.4f1 - i couldn't see how to open the project under 2019 since it automatically opens in 2020 when i first open the project.

    Anyone have any suggestions on how to fix this?

    Edit: Sorry I forgot to update this thread. I was able to get it to work by first opening it 2020.3, and after I did that, I could then upgrade it to 2020.5.

     
    Last edited: Mar 1, 2021
  2. kristenmontesano

    kristenmontesano

    Joined:
    Nov 10, 2020
    Posts:
    1
    You can try to open it in 2019.3 or 2019.4 by opening Unity Hub and changing the 'Unity Version' to an older one before opening the project. However I don't know that this will solve your issue; I have opened this project many times in 2019.4 without issue and now in 2020.1 or 2020.2 there are tons of shader errors and nothing works. I guess it may be related to the new XR input system that just launched; looks like this project just isn't up to date and won't work anymore.
     
  3. merckkk

    merckkk

    Joined:
    Feb 18, 2021
    Posts:
    7
    Sorry I forgot to update this thread. I was able to get it to work by first opening it 2020.3, and after I did that, I could then upgrade it to 2020.5.