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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bug I get error in hdrp after upgrading 2020 version to 2021

Discussion in 'Editor & General Support' started by fcozsargin, Jul 1, 2022.

  1. fcozsargin

    fcozsargin

    Joined:
    Nov 9, 2021
    Posts:
    5
    After the update I get these errors

    Library\PackageCache\com.unity.render-pipelines.high-definition@12.1.7\Runtime\Lighting\LightLoop\LightLoop.cs(114,68): error CS0117: 'ShaderConfig' does not contain a definition for 'FPTLMaxLightCount'
    Library\PackageCache\com.unity.render-pipelines.high-definition@12.1.7\Runtime\Lighting\LightLoop\LightLoop.cs(115,120): error CS0117: 'ShaderConfig' does not contain a definition for 'FPTLMaxLightCount'
    Library\PackageCache\com.unity.render-pipelines.high-definition@12.1.7\Runtime\Debug\DebugDisplay.cs(1086,30): error CS0117: 'ShaderConfig' does not contain a definition for 's_GlobalMipBias'
    Library\PackageCache\com.unity.render-pipelines.high-definition@12.1.7\Runtime\Debug\DebugDisplay.cs(1537,58): error CS0117: 'ShaderConfig' does not contain a definition for 'FPTLMaxLightCount'
    Library\PackageCache\com.unity.render-pipelines.high-definition@12.1.7\Runtime\RenderPipeline\HDRenderPipeline.RenderGraph.cs(490,31): error CS0117: 'ShaderConfig' does not contain a definition for 's_GlobalMipBias'


    How can I fix these errors?
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,109
    Check the package manager whether any packages need updating.
     
  3. mattis89

    mattis89

    Joined:
    Jan 10, 2017
    Posts:
    1,151