Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed compile error with XR SubsystemManager.
- Fix for assertion triggering sometimes when saving a newly created lit shader graph (case 1230996)
- Fixed culling of planar reflection probes that change position (case 1218651)
- Fixed null reference when processing lightprobe (case 1235285)

### Changed
- Color buffer pyramid is not allocated anymore if neither refraction nor distortion are enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2506,17 +2506,17 @@ int PreprocessVisibleProbes(HDCamera hdCamera, CullingResults cullResults, HDPro
{
var probe = cullResults.visibleReflectionProbes[probeIndex];

if (probe.reflectionProbe == null
|| probe.reflectionProbe.Equals(null) || !probe.reflectionProbe.isActiveAndEnabled
|| !aovRequest.IsLightEnabled(probe.reflectionProbe.gameObject))
continue;

ref ProcessedProbeData processedData = ref m_ProcessedReflectionProbeData[probeIndex];
PreprocessReflectionProbeData(ref processedData, probe, hdCamera);

if (TrivialRejectProbe(processedData, hdCamera))
continue;

if (probe.reflectionProbe == null
|| probe.reflectionProbe.Equals(null) || !probe.reflectionProbe.isActiveAndEnabled
|| !aovRequest.IsLightEnabled(probe.reflectionProbe.gameObject))
continue;

// Work around the data issues.
if (probe.localToWorldMatrix.determinant == 0)
{
Expand Down