Skip to content

Conversation

fredericv-unity3d
Copy link
Contributor

Purpose of this PR

Fixes case 1289680.

A loop was using an invalid counter causing a write to an invalid address in the stack.

Fixed: use the appropriate counter for the loop.


Testing status

Manual test on the provided case scene (Sponza)

  1. Bake the lighting data
  2. Clear the lighting data
  3. Bake the lighting data

Observes the bake does complete without error and the probes are baked appropriately.


Comments to reviewers

QA:

  • Can you do the manual test on another computer to make sure it is consistent

# Conflicts:
#	com.unity.render-pipelines.high-definition/CHANGELOG.md

# Conflicts:
#	com.unity.render-pipelines.high-definition/CHANGELOG.md
Copy link
Contributor

@TomasKiniulis TomasKiniulis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked repro project with steps provided and template, not encountering the exception anymore

@sebastienlagarde sebastienlagarde marked this pull request as ready for review December 15, 2020 13:23
@sebastienlagarde sebastienlagarde merged commit 53096ec into hd/bugfix Dec 15, 2020
@sebastienlagarde sebastienlagarde deleted the hd/bugfix_case_1289680 branch December 15, 2020 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants