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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Compilation error after importing URP

Discussion in 'Universal Render Pipeline' started by Kilfeather94, Feb 22, 2020.

  1. Kilfeather94

    Kilfeather94

    Joined:
    Feb 8, 2014
    Posts:
    23
    I'm getting the following error after importing URP into my project:

    Library\PackageCache\com.unity.render-pipelines.universal@7.1.8\Editor\UniversalRenderPipelineCameraEditor.cs(1049,57): error CS0535: 'UniversalRenderPipelineCameraContextualMenu' does not implement interface member 'IRemoveAdditionalDataContextualMenu<Camera>.RemoveComponent(Camera, IEnumerable<Component>)'

    I've tried deleting the PackageCache and restarting my project but this error still occurs.


    Unity version I'm using is 2019.3.2f1
     
  2. reverence

    reverence

    Joined:
    Dec 2, 2019
    Posts:
    2
    I have the same issue, not sure how to deal with it.
    Edit: Ok, so I have updated to 7.2.1 and the problem seems to have gone away.
     
    wgarn likes this.
  3. atmikes1234

    atmikes1234

    Joined:
    Apr 21, 2019
    Posts:
    6
    That just happened to me in unity 2019.3.7 (URP 7.3.1) - couldn't get rid of that problem. tried deleting libraries folder, reimport all, reinstalling all packages from package manager.

    Only thing that worked was downgrading to URP 7.1.8
     
  4. JeffreyBennett

    JeffreyBennett

    Joined:
    May 18, 2017
    Posts:
    22
    I had this error too. It turned out that I had the Shader Graph on version 7.2.1, the Visual Effect Graph on version 7.2.1, but had forgotten to update my Universal Render Pipeline to version 7.2.1. It was still on version 7.1.8.

    Going to Window > Package Manager and scrolling down to each of those three packages, and ensuring they were all updated (I guess you could also downgrade them all) to the same version number, is what cleared the issue for me.