Search Unity

Problem With Rendertexture

Discussion in 'Editor & General Support' started by Perillio, Apr 14, 2019.

  1. Perillio

    Perillio

    Joined:
    Feb 4, 2019
    Posts:
    18
    Hello,

    i have a big problem with a render texture. I use it in a camera to get a minimap.
    All worked fine for a while but then i realised that my console gets spammed with errors.

    Error message: "ArgumentException: RenderTextureDesc graphicsFormat must be a supported GraphicsFormat. R8_SRGB is not supported."

    It doesnt matter what format i use, it spams that message all the time. When i doubleclick on it, it opens PostProcessRendererContext.cs in visual studio.
    Already tried latest PP version and High Definition RP, deleted both again but now im clueless.

    Any ideas ?

    Greetings
    Stefan


    EDIT:

    Solution found. I was using Gaia to create the player but gaia was creating post processing on its own and set it to the only cam in scene, which was my minimap cam. After removing the post processing script from it, the error was gone. Seems like it automatically set the only cam as the main cam.
     
    Last edited: Apr 14, 2019