Search Unity

HDRP realtime reflection probe problem

Discussion in 'High Definition Render Pipeline' started by MajorParts, Dec 8, 2019.

  1. MajorParts

    MajorParts

    Joined:
    Sep 27, 2014
    Posts:
    88
    Hi

    We have a cockpit (a prefab instantiated at runtime) in our scene that contains a realtime reflection probe.
    While running in the editor, the probe does not capture anything (stays grey saying probe not baked yet) until a mesh (any) is highlighted in the hierarchy, then it works as intended.
    In a build, it is impossible to select a mesh and therefore just doesn't work at all.

    I've ticked and unticked just about every tickable option in all settings and combinations of many. I am totally baffled. Anyone have any suggestions?

    Cheers.

    Unity version 2019.3.0f1 with HDRP 7.1.6
     
  2. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    reflection probe in HDRP, in general, is very wonky. You should report the bug.
     
    Ymmersive likes this.
  3. MajorParts

    MajorParts

    Joined:
    Sep 27, 2014
    Posts:
    88
    I did some tests...

    2019.3.0b11 with hdrp 7.1.5 works as intended

    2019.3.0f1 with 7.1.5 doesn't work

    So it's a problem with 2019.3.0f1
     
  4. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    883
    Same problem here but with the Custom probes too. Reflections does not applied, until something will be selected in the hierarchy.
     
  5. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    Reflection probe in HDRP like to crash Unity, when change from baked to realtime, or sometime when you open old scene with realtime Reflection Probe, even if it not works every frame.
     
  6. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    883
    Any workarounds? Please?
     
  7. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    883
    Ok. opened the Case 1205109
     
  8. Fred-Koa

    Fred-Koa

    Joined:
    Feb 5, 2019
    Posts:
    20
    Reflection probes still don't want to update in 2020.1.0a23 with HDRP 7.2.1
     
  9. Tomas-Kiniulis

    Tomas-Kiniulis

    Unity Technologies

    Joined:
    Apr 27, 2017
    Posts:
    55
    Hi Fred-Koa,

    The case 1205109 was fixed in 7.2.0 HDRP package. I've rechecked the instantiation issue and the realtime probe is updated properly in HDRP 7.2.1. Could you further elaborate on the issue you are having and share your setup with repro steps?
     
  10. Fred-Koa

    Fred-Koa

    Joined:
    Feb 5, 2019
    Posts:
    20
    Sorry it was my mistake. I forgot to add a shader as "always included" when i built my game. Everything works fine now.