Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to get Overlay Canvas with Renderer Feature

Discussion in 'Universal Render Pipeline' started by ueue44, Mar 28, 2023.

  1. ueue44

    ueue44

    Joined:
    Jun 17, 2013
    Posts:
    16
    Hello.

    Unity2022.2.1f1
    Universal RP 14.0.4
    I am developing a game using

    I want to update the UI (e.g. image) in the Canvas (Render Mode = Screen Space - Overlay) with a Renderer Feature, but it does not work.
    I am able to set up a Layer for a Quad that is not under the Canvas and replace the Material.

    I can't get it to work even if I set the acquisition timing to "AfterRenderingTransparents" or "AfterRendering".

    When I checked the Frame Debugger, I found that the drawing of the Canvas (Render Mode = Screen Space - Overlay) is done by "UGUI.Rendering.RenderOverlays", and I think that it is being drawn at a timing that cannot be acquired by the Renderer Feature. "UGUI.Rendering.RenderOverlays", which cannot be obtained by the Renderer Feature.

    If I use Canvas (Render Mode = Screen Space - Camera), I can replace the material as intended.

    If there is any way to get this information, please let me know.
     
    BryanPersonal and s2265865006 like this.
  2. jaeger81

    jaeger81

    Joined:
    Nov 14, 2019
    Posts:
    3
    Hello, did you find a solution for this ?
     
    s2265865006 likes this.
  3. s2265865006

    s2265865006

    Joined:
    Jun 30, 2023
    Posts:
    1
    Hello, did you find a solution for this ?:(