Search Unity

Question Render Texture (with Unlit shader) has wrong lighting in build (over lit)

Discussion in 'VR' started by MiroMarionette, Mar 10, 2021.

  1. MiroMarionette

    MiroMarionette

    Joined:
    Nov 5, 2020
    Posts:
    9
    Hello!
    I am writing to ask if anyone knows why I might be getting the issue mentioned in the title.
    In a VR project using Universal Rendering Pipeline and Unity 2020.2.6f1 I am getting some weird lighting issues on my Render Textures.

    When build for Standalone or ran from the Editor the Render Texture is correct
    Screenshot 2021-03-10 105321.png

    But when I make a build for Android (Oculus Quest) I get this weird over-exposed image. This also happens for other Render Textures in the scene.

    com.MarionetteAps.Marionette-20210310-104821.jpg

    Here is the setup
    A camera that renders to Render Texture. Render Texture that is set to a material with Unlit shader. And an Image that takes and displays the material.
    Camera.png RenderTexture.png Shader.png