Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

R8_SRGB is not supported.

Discussion in '2019.1 Beta' started by firepad9, Feb 27, 2019.

  1. firepad9

    firepad9

    Joined:
    May 20, 2016
    Posts:
    8
    After I create a new project whith unity2019.1 beta and use HDR in unity hub setting

    0.png
    ArgumentException: RenderTextureDesc graphicsFormat must be a supported GraphicsFormat. R8_SRGB is not supported.

    Parameter name: desc.graphicsFormat
    UnityEngine.RenderTexture.ValidateRenderTextureDesc (UnityEngine.RenderTextureDescriptor desc) (at C:/buildslave/unity/build/Runtime/Export/Graphics/Texture.cs:211)
    UnityEngine.RenderTexture.GetTemporary (UnityEngine.RenderTextureDescriptor desc) (at C:/buildslave/unity/build/Runtime/Export/Graphics/Texture.cs:245)
    UnityEngine.Rendering.PostProcessing.PostProcessRenderContext.GetScreenSpaceTemporaryRT (System.Int32 depthBufferBits, UnityEngine.RenderTextureFormat colorFormat, UnityEngine.RenderTextureReadWrite readWrite, System.Int32 widthOverride, System.Int32 heightOverride) (at Library/PackageCache/com.unity.postprocessing@2.1.2/PostProcessing/Runtime/PostProcessRenderContext.cs:409)
    UnityEngine.Rendering.PostProcessing.DepthOfFieldRenderer.CheckHistory (System.Int32 eye, System.Int32 id, UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context, UnityEngine.RenderTextureFormat format) (at Library/PackageCache/com.unity.postprocessing@2.1.2/PostProcessing/Runtime/Effects/DepthOfField.cs:153)
    UnityEngine.Rendering.PostProcessing.DepthOfFieldRenderer.Render (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context) (at Library/PackageCache/com.unity.postprocessing@2.1.2/PostProcessing/Runtime/Effects/DepthOfField.cs:207)
    UnityEngine.Rendering.PostProcessing.PostProcessLayer.RenderEffect[T] (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context, System.Boolean useTempTarget) (at Library/PackageCache/com.unity.postprocessing@2.1.2/PostProcessing/Runtime/PostProcessLayer.cs:1264)
    UnityEngine.Rendering.PostProcessing.PostProcessLayer.RenderBuiltins (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context, System.Boolean isFinalPass, System.Int32 releaseTargetAfterUse, System.Int32 eye) (at Library/PackageCache/com.unity.postprocessing@2.1.2/PostProcessing/Runtime/PostProcessLayer.cs:1101)
    UnityEngine.Rendering.PostProcessing.PostProcessLayer.Render (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context) (at Library/PackageCache/com.unity.postprocessing@2.1.2/PostProcessing/Runtime/PostProcessLayer.cs:946)
    UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.RenderPostProcess (UnityEngine.Experimental.Rendering.HDPipeline.HDCamera hdcamera, UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.PostProcessing.PostProcessLayer layer) (at Library/PackageCache/com.unity.render-pipelines.high-definition@5.2.3-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:2376)
    UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Camera[] cameras) (at Library/PackageCache/com.unity.render-pipelines.high-definition@5.2.3-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:1424)
    UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[] cameras) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipeline.cs:43)
    UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, UnityEngine.Camera[] cameras, System.IntPtr loopPtr, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:55)
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    This is due to a bug in the post processing V2 package. It is is fixed in package version 2.1.3. Upgrading that package will resolve the issue. The template should get updated soon.

    Note that HDRP comes with its own PP solution from version 5.3.1 upwards. If you decide to upgrade to that version, you'll have to remove the PP V2 package from your project.
     
    OfficialHermie, Kareeem and Hayaweh like this.
  3. OfficialHermie

    OfficialHermie

    Joined:
    Oct 12, 2012
    Posts:
    585
    @LeonhardP Can you please tell me what exactely I have to do to remove the PP V2 package from my HDRP project?
     
  4. vladibo

    vladibo

    Joined:
    Jan 29, 2013
    Posts:
    38
    Windows - Package Manager

    find High Definition RP

    click on preview - 5.10.0 then upgrade