Search Unity

Need to delete ENABLE_VR Define Constant, but it is re-generated when I delete it.

Discussion in 'Editor & General Support' started by RecursiveFrog, Aug 3, 2019.

  1. RecursiveFrog

    RecursiveFrog

    Joined:
    Mar 7, 2011
    Posts:
    350
    I've installed Unity's PostProcessing library from UPM, and when I try to use or build it I am presented a build error to the effect that PostProcessing. The error stems from the fact that the build process believes that the ENABLE_VR constant is present, but:

    • I did not add it
    • I did not enable VR or XR
    • It exists in the .csproj for my project (and all my asmdefs)
    • When I try to manually edit the .csproj files to remove it, it is automatically re-added to the file

    Why does this happen? I do not want or need VR, but I cannot find why this flag is being added to my .csproj files.
     
    PrecisionCats, chanon81 and jayatubi like this.
  2. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    same here
     
  3. JesseSTG

    JesseSTG

    Joined:
    Jan 10, 2019
    Posts:
    236
    Me three. Anybody?
     
  4. PrecisionCats

    PrecisionCats

    Joined:
    Nov 19, 2017
    Posts:
    40
    JesseSTG likes this.
  5. JesseSTG

    JesseSTG

    Joined:
    Jan 10, 2019
    Posts:
    236