Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Reflectionprobe not working on entities

Discussion in 'Graphics for ECS' started by BenMM, Jun 15, 2023.

  1. BenMM

    BenMM

    Joined:
    Jan 28, 2019
    Posts:
    16
    Hi,
    i have an issue where a baked refelction probe does not seem to work completly correct on my entities.
    In this testcase (2022.3.1f1 LTS) ground and the 4 color pillars are static gameobjects. The left sphere is a Gameobject and the right one is converted to entity in a subscene. Both spheres have a standard urp lit shader with metallic and smoothness on 1.

    Currently i can't find a way to have environment be shown in the reflection of the entity sphere, which only shows the sky.

    Am i missing a setting in Urp or any other ideas?

    upload_2023-6-15_12-26-8.png

    Thanks for taking the time!
     
  2. JussiKnuuttila

    JussiKnuuttila

    Unity Technologies

    Joined:
    Jun 7, 2019
    Posts:
    352
    Reflection probes should work for Entities if you enable the Forward+ mode of URP, which should be located in the URP Renderer Asset.
     
  3. BenMM

    BenMM

    Joined:
    Jan 28, 2019
    Posts:
    16
    Thank you for the response!

    Does this in turn mean reflection probes do not work in render path forward?
     
  4. JussiKnuuttila

    JussiKnuuttila

    Unity Technologies

    Joined:
    Jun 7, 2019
    Posts:
    352
    Yes, currently Entities Graphics is not able to support local lights or reflection probes when using regular Forward, as that requires setting them up separately for each object, which BatchRendererGroup is not able to do. Forward+ bypasses this limitation, as both lights and reflection probes are applied in screen space, similar to how it works in HDRP.
     
    customphase likes this.