Forum rules - please read before posting.

No VR namespace in 2020.2

After updating Unity to 2020.2, for MainCamera.cs and MainCameraEditor.cs

using UnityEngine.VR;

The namespace is not recognized.
How to resolve this issue? Thanks.

Comments

  • Update to the latest release, or remove the instances of:

    #define ALLOW_VR
    

    at the top of both scripts

  • Thanks, I thought I updated to the latest version, but due to some other errors it never went through. Works great with 1.72.4.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.