Search Unity

Question xr plugin management - BuildPipeline' does not contain a definition for 'GetBuildTargetName

Discussion in 'VR' started by danielesuppo, Sep 28, 2021.

  1. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Hello, I should develop an app for Oculus Quest2.
    I'm using Unity 2020.1 because the project was created time ago with this version.

    I don't need AR foundation, AR core, etc, only "xr plugin management".

    So I install it from Package Manager (version 3.2.17), but I get this error "BuildPipeline' does not contain a definition for 'GetBuildTargetName".

    I've looked around for a solution, but everybody say that this problem is related ro the AR Foundation plugin version installed.
    But I don't have AR Foundation installed...

    Somebody could help me?
    Many thanks!
     
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    The problem is that that version of management requires changes to core Unity that do not exist in 20.1. Beyond that, 20.1 is no longer supported. You should move to 20.3. LTS and things should work as expected there.
     
  3. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Thank-you, I'll upgrade the Editor.
    P.S: It would be nice to have incompatible plugins disabled... ;)
     
  4. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Please joejo,
    for my curiosity, could you tell me why the "xr plugin management" version 3.2.17 is incompatible with Unity 2020.1, when all tutorials all over the web say that it should be enough to install it to make it work? (But it does not work, because of the message "BuilPipiline does not contain... etc etc)
    (here is one of the links:

    )

    Many thanks!