Search Unity

Question cannot convert from 'UnityEngine.Profiling.CustomSampler' to 'UnityEngine.Rendering.ProfilingSample

Discussion in 'High Definition Render Pipeline' started by suyashtnt, Feb 15, 2020.

  1. suyashtnt

    suyashtnt

    Joined:
    Nov 26, 2018
    Posts:
    6
    so i just recently got the latest version of unity 2019.3 and upgraded all mynpackages, but i get an error for almost all PP effect saying:

    Code (CSharp):
    1. Library\PackageCache\com.unity.render-pipelines.high-definition@7.1.8\Runtime\Lighting\ScreenSpaceLighting\AmbientOcclusion.RenderGraph.cs(142,115): error CS1503: Argument 3: cannot convert from 'UnityEngine.Profiling.CustomSampler' to 'UnityEngine.Rendering.ProfilingSampler'
    2.  
     
    junctionboss likes this.
  2. Misiek_97

    Misiek_97

    Joined:
    Nov 20, 2016
    Posts:
    1
    bump, got same issue
     
    junctionboss likes this.
  3. timothywwcase

    timothywwcase

    Joined:
    Jul 31, 2019
    Posts:
    2
    Getting these errors too after upgrading to HDRP. Was working, but added 7.2.1 HDRP Config package, and I started getting these errors.
     
    junctionboss and ahmetilhan282 like this.
  4. Pioxon

    Pioxon

    Joined:
    Nov 20, 2016
    Posts:
    4
    I have this same problem and im report this bug and im wait for Unity help.
     
    junctionboss likes this.
  5. paynob

    paynob

    Joined:
    Oct 16, 2013
    Posts:
    2
    Same here!
     
    junctionboss likes this.
  6. djgriff

    djgriff

    Joined:
    May 29, 2014
    Posts:
    279
    Bump.. upgraded URP though to fix a different error to get more errors
     
    junctionboss likes this.
  7. djgriff

    djgriff

    Joined:
    May 29, 2014
    Posts:
    279
    Ok resolved mine by looking at dependencies and upgrading the core stuff then upgrading URP.. might be the same for HDRP. doesn't seem to upgrade nicely if you just go straight into URP