Search Issue Tracker
By Design
Votes
0
Found in [Package]
12.0.0
Issue ID
1325624
Regression
No
ReflectionProbe.texture always returns null in HDRP
How to reproduce:
1. Open the user's attached "Unity_Reflection_Probes.zip" project
2. Open the "Reflection_Probes" Scene
3. Press the "Generate Lighting" button in the Lighting settings (Window -> Rendering -> Lighting)
4. Go to Custom -> Check reflection probes
5. Observe the Console log
Expected result: Texture: "'Reflection Probe-reflectionHDR (UnityEngine.Cubemap)'" is printed in the Console log
Actual result: "Texture: ''" is printed in the Console log
Reproducible with: 7.6.0 (2019.4.24f1), 10.4.0 (2020.3.3f1), 11.0.0 (2021.1.4f1), 12.0.0 (2021.2.0a13)
Note:
- The issue is not reproducible in URP
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException is thrown when pressing the "Enter" key to select an item in a ListView
- Burst internal compiler errors are thrown when creating a new 2D project
- Tile Paint action disappears from Undo History when Tile Selection tool has been used beforehand
- The pregenerated LightDefinition.cs.hlsl does not match the source LightDefinition.cs when regenerating shader includes
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
Resolution Note:
ReflectionProbe.texture is not used in HDRP, instead, you have to get the HDAdditionalReflectionData Component