Search Issue Tracker

Fixed in 7.2.0

Votes

4

Found in [Package]

7.0.1, 7.1.7

Issue ID

1203989

Regression

Yes

[HDRP] Realtime reflection probe does not start updating when created at runtime

Package: Scriptable Render Pipeline HD

-

How to reproduce:
1. Open "reflectiontest" from the attached project
2. Deselect any object
3. Start Play mode

Expected result: The cube should be visible in the reflection on the sphere

Actual result: The cube is not visible in the reflection until a 3D object is selected.

Reproducible with: 2019.3.0f1(HDRP 7.1.5), 2019.3.0f4(HDRP 7.1.7), 2020.1.0a11(HDRP 7.1.5), 2020.1.0a18 (HDRP 7.1.7)
Not reproducible with: 2018.4.15f1(HDRP 4.10.0), 2019.2.17f1(HDRP 6.9.2), 2019.3.0b12 (HDRP 7.1.5), 2020.1.0a9 (HDRP 7.1.2)
Could not test with: 2017.4.36f1 - HDRP not supported, 2020.1.0a9 (HDRP 7.1.5 - 7.1.7) - package compilation errors

Notes:
1. Only reproducible with HDRP pipeline.
2. The probe starts updating whenever a Material is shown in Inspector by having Material asset or some Renderer selected.
3. It is also possible to reproduce the issue manually, by adding a new reflection probe in the scene and setting it to realtime + every frame.
4. ❗ In standalone player, this makes it impossible to have the probe rendered ❗
5. Adding those lines to the start function of the script didn't help:
var hdProbe = probeGameObject.AddComponent<UnityEngine.Rendering.HighDefinition.HDAdditionalReflectionData>();
hdProbe.mode = ProbeSettings.Mode.Realtime;
hdProbe.realtimeMode = ProbeSettings.RealtimeMode.EveryFrame;
hdProbe.RequestRenderNextUpdate();

Comments (1)

  1. MajorParts

    Jan 13, 2020 17:31

    How is this suddenly not reproducible? The reply I got in my email stated "We successfully reproduced this issue" and the notes above clearly state it is reproducible!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.