Search Unity

Directional light in build.

Discussion in 'Graphics for ECS' started by marvalgames, Apr 17, 2022.

  1. marvalgames

    marvalgames

    Joined:
    Sep 29, 2020
    Posts:
    3
    2020.3 entities .17 hrv2 only one directional light in entire scene but not on in build so dark.. if I turn on an ambient light I can see everything else rendered.. baffled
    Thanks
     
  2. Arnold_2013

    Arnold_2013

    Joined:
    Nov 24, 2013
    Posts:
    284
    I have a realtime directional light in URP; unity 2020.3; entities .17; hrV2; That works in a Windows IL2CPP build. It looks the same as in editor.

    Settings are pretty basic. I don't convert it to entity and I don't bake anything.

    With ECS/Hybridrenderer a lot of things don't work, so expect to be baffled ;-).

    upload_2022-4-25_14-36-14.png