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

Custom forward LWRP renderer works in Editor but does not appear in build

Discussion in 'Universal Render Pipeline' started by nasos_333, Dec 4, 2019.

  1. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,948
    Hi,

    I have made a few effects in LWRP using the custom forward renderer and while it works in editor i cannot see the effects in the build. Is there some special setup required to enable the effects to appear in the build ?

    Or is it a known bug ? I use Unity 2019.1.3f1 with LWRP 5.16.1

    Thanks




    I attach few images of the effects that i see in editor (fog and clouds) that do not appear in build
     
  2. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,948
    Is there any guide as to what changes might be needed to shaders to make them fully compatible with the forward renderer ?

    Note that one of the effects does work (light shafts) so there is something in the others used that might break the system or perhaps is a setup issue if more than one effects is added etc

    Also since it works in editor, should it not work in build normally ?

    Thanks
     
  3. spiritLink

    spiritLink

    Joined:
    Oct 12, 2017
    Posts:
    3
  4. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,948
    Thanks, it might be related indeed, maybe some oversight in the parsing of the shaders or something.

    I use custom shaders though, so in my case would be even harder to pinpoint the cause. I hope there is some insight on this, as it could take me weeks to discover the issue and without be sure if i can readily solve it either.