Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@FrancescoC-unity
Copy link
Contributor

This PR has a fix for the debug view using the wrong cell size for baked data that lead to wrong visualization.

Instead we grab the actually loaded info if we are displaying data for baked data, otherwise we use the info from the profile for realtime subdivision debug view.

The PR has also another small check for probe volume UX if the feature gets disabled.

@github-actions
Copy link

Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed.
Link to Yamato: https://yamato.cds.internal.unity3d.com/jobs/902-Graphics
Search for your PR branch using the sidebar on the left, then add the following segment(s) to the end of the URL (you may need multiple tabs depending on how many packages you change)

SRP Core
You could run ABV on your branch before merging your PR, but it will start A LOT of jobs. Please be responsible about it and run it only when you feel the PR is ready:
/.yamato%252F_abv.yml%2523all_project_ci_trunk
Be aware that any modifications to the Core package impacts everyone in the Graphics repo so please discuss the PR with your lead.

Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure.

@github-actions github-actions bot added the SRP label Sep 13, 2021
static void Drawer_VolumeContent(SerializedProbeVolume serialized, Editor owner)
{
if (!ProbeReferenceVolume.instance.isInitialized)
if (!ProbeReferenceVolume.instance.isInitialized || !ProbeReferenceVolume.instance.enabledBySRP)
Copy link
Contributor

Choose a reason for hiding this comment

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

When can this happen?
Start with APV enabled in the asset then switch it off?
Sounds like we should cleanup the APV in this case no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It can be valid but not enabled by current frame settings

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah right, forgot about the frame settings and thought it was only the global settings.

@JulienIgnace-Unity JulienIgnace-Unity merged commit 7ba7568 into master Sep 14, 2021
@JulienIgnace-Unity JulienIgnace-Unity deleted the HDRP/fix-using-wrong-info-for-apv-debug branch September 14, 2021 13:35
sebastienlagarde pushed a commit that referenced this pull request Sep 20, 2021
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.