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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
ReflectionProbe.texture is not used in HDRP, instead, you have to get the HDAdditionalReflectionData Component