Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  4. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

VSCode not finding XR.Interaction namespace

Discussion in 'AR/VR (XR) Discussion' started by augustmpemberton, Mar 11, 2020.

  1. augustmpemberton

    augustmpemberton

    Joined:
    Oct 15, 2019
    Posts:
    3
    I recently setup VSCode to work with Unity. Everything else seems to work fine, but VSCode can't find the XR.Interaction namespace. It compiles fine, and VSCode seems to work with everything else, but for some reason I'm getting red lines everywhere.
    upload_2020-3-11_18-26-34.png

    Does anyone know what the cause of this might be?

    I'm using 2019.3.4f1.

    Thanks
    -August
     
  2. augustmpemberton

    augustmpemberton

    Joined:
    Oct 15, 2019
    Posts:
    3
    Turns out I just had to downgrade the Visual Studio Code Editor package to v1.1.3. I thought I'd already done this, but updating my Unity version had reset it to the latest version.
     
    ElDivinCodino likes this.
  3. ElDivinCodino

    ElDivinCodino

    Joined:
    Apr 17, 2016
    Posts:
    4
    Thank you sir, you saved my life from frustration.
     
  4. adamgffrd

    adamgffrd

    Joined:
    Sep 26, 2018
    Posts:
    14
    Thanks for this, 1.1.3 was still giving me an issue but going to version 1.2.3 fixed it for me. :)
     
unityunity