Skip to content

Conversation

alex-vazquez
Copy link
Contributor

@alex-vazquez alex-vazquez commented Dec 16, 2021

Purpose of this PR

Fix https://fogbugz.unity3d.com/f/cases/1386964/

  • Improving debug names on the undo stack

image


Testing status

Test that Undo/Redo is working for Enum fields on the rendering debugger.


Comments to reviewers

Serialization issue, the index where not being correctly set for enum fields after a serialization.

@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://unity-ci.cds.internal.unity3d.com/project/902/
Search for your PR branch using the search bar at the top, 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:
/jobDefinition/.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.

Copy link
Contributor

@arttu-peltonen arttu-peltonen left a comment

Choose a reason for hiding this comment

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

Another enum index issue :) nice work!

@alex-vazquez alex-vazquez changed the title [RPW]Fix undo for DebugUI.Enum fields on the rendering debugger. [RPW][1386964]Fix undo for DebugUI.Enum fields on the rendering debugger. Dec 16, 2021
Copy link
Contributor

@JMargevics JMargevics left a comment

Choose a reason for hiding this comment

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

Find a semi-related issue of UI not playing nicely when changing multiple enum fields but undoing only once. Reported it.

Otherwise undoing enum fields does work correctly now and Undo history shows correct names. All good from my side 🟢👍

@alex-vazquez alex-vazquez marked this pull request as ready for review January 10, 2022 15:45
@sebastienlagarde
Copy link
Contributor

PR seems to miss some doc but otherwise ready to go?

@alex-vazquez
Copy link
Contributor Author

@sebastienlagarde , missing docs are not from this PR, merging. Thanks

@alex-vazquez alex-vazquez merged commit be49c14 into master Jan 19, 2022
@alex-vazquez alex-vazquez deleted the rpw/1386964-undo-debugui-enumfields branch January 19, 2022 15:59
sebastienlagarde added a commit that referenced this pull request Feb 1, 2022
* fixed typo and made style guide fixes (#6749)

* style guide fixes (#6750)

* Added menu trail to change atlas resolution (#6755)

* Clarified how to find hdrp in package manager (#6756)

* made style guide fixes (#6762)

* added new instructions for photoshop colour channels (#6769)

* made naming of AO consistent (#6771)

* Removed reference to 3d with extras project (#6781)

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* Added default value (#6770)

* Added default value

* Fixed merge issue

* undo wrong fix

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* Merge Hd/bugfix #6791

* Fix warning on baking set renaming #6808

* Renamed the Exposure field to Exposure Compensation in sky volume overrides (case 1392530). #6801

* Refresh baking set scene list when one baking set is removed. #6811

* clarified how to change mode (#6871)

* fixed screenshot annotation colour (#6872)

* fixed formatting (#6873)

* fixed name of Game view (#6874)

* fixed note formatting (#6875)

* new screenshot and fixed table formatting (#6889)

* minor style guide changes (#6904)

* remove italics, note formatting (#6906)

* fixed typo "on following GPUs" > on the following GPUs (#6909)

* Post Process can now be edited in the default frame settings. #6816

* Fixed errors spamming when in player mode due to ray tracing light cluster debug view (case 1390471). #6820

* Fixed missing unit in ray tracing related tooltips and docs (case 1397491). #6822

* [Fogbugz # 1386436] Fixing FPTL failing when near and far are very tight. #6826

* Fixed an issue where forced sky update would not update ambient probe. #6831

* Fixed a null ref exception in Volume Explorer #6834

* Cleaning up FPTL early out for ps4 and PC (#6882)

* Changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* [HDRP] Fix static sky lighting update when render textures are updated #6863

* Quality update of custom post process (#6856)

* Disable the clouds in the indoor sample scenes (normal and DXR) #6908

* Fixed using the wrong coordinate to compute the sampling direction for the screen space global illumination. #6903

* Update VolumeParameter.cs

* Replaced view lighting tool with light anchor (#6829)

* Replaced view lighting tool with light anchor

* Update View-Lighting-Tool.md

* Apply formatting changes

* revert: Fix cached directional shadows disappearing when going out of shadow range to never reappear #6802

* [RPW][1386964]Fix undo for DebugUI.Enum fields on the rendering debugger. #6632

* More explicit error message when trying to use Shader Graph nodes HDSceneColor, NormalFromHeight, DDX, DDY or DDXY in ray tracing #6254

* [RPW]Fix recovering the correct index for DebugUI.Enum field that are not autoenum (#6901)

* Proper Indoors scene template volume

* Update 004-CloudsFlaresDecals.png

Co-authored-by: emilybrown1 <88374601+emilybrown1@users.noreply.github.com>
Co-authored-by: FrancescoC-unity <43168857+FrancescoC-unity@users.noreply.github.com>
Co-authored-by: anisunity <42026998+anisunity@users.noreply.github.com>
Co-authored-by: JulienIgnace-Unity <julien@unity3d.com>
Co-authored-by: Kleber Garcia <kleber.garcia@unity3d.com>
Co-authored-by: Antoine Lelievre <antoinel@unity3d.com>
Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>
Co-authored-by: alex-vazquez <76204843+alex-vazquez@users.noreply.github.com>
Co-authored-by: Emmanuel Turquin <emmanuel@turquin.org>
Co-authored-by: Rémi Chapelain <remi.chapelain@unity3d.com>
sebastienlagarde added a commit that referenced this pull request Feb 1, 2022
* fixed typo and made style guide fixes (#6749)

* style guide fixes (#6750)

* Added menu trail to change atlas resolution (#6755)

* Clarified how to find hdrp in package manager (#6756)

* made style guide fixes (#6762)

* added new instructions for photoshop colour channels (#6769)

* made naming of AO consistent (#6771)

* Removed reference to 3d with extras project (#6781)

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* Added default value (#6770)

* Added default value

* Fixed merge issue

* undo wrong fix

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* Merge Hd/bugfix #6791

* Fix warning on baking set renaming #6808

* Renamed the Exposure field to Exposure Compensation in sky volume overrides (case 1392530). #6801

* Refresh baking set scene list when one baking set is removed. #6811

* clarified how to change mode (#6871)

* fixed screenshot annotation colour (#6872)

* fixed formatting (#6873)

* fixed name of Game view (#6874)

* fixed note formatting (#6875)

* new screenshot and fixed table formatting (#6889)

* minor style guide changes (#6904)

* remove italics, note formatting (#6906)

* fixed typo "on following GPUs" > on the following GPUs (#6909)

* Post Process can now be edited in the default frame settings. #6816

* Fixed errors spamming when in player mode due to ray tracing light cluster debug view (case 1390471). #6820

* Fixed missing unit in ray tracing related tooltips and docs (case 1397491). #6822

* [Fogbugz # 1386436] Fixing FPTL failing when near and far are very tight. #6826

* Fixed an issue where forced sky update would not update ambient probe. #6831

* Fixed a null ref exception in Volume Explorer #6834

* Cleaning up FPTL early out for ps4 and PC (#6882)

* Changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* [HDRP] Fix static sky lighting update when render textures are updated #6863

* Quality update of custom post process (#6856)

* Disable the clouds in the indoor sample scenes (normal and DXR) #6908

* Fixed using the wrong coordinate to compute the sampling direction for the screen space global illumination. #6903

* Update VolumeParameter.cs

* Replaced view lighting tool with light anchor (#6829)

* Replaced view lighting tool with light anchor

* Update View-Lighting-Tool.md

* Apply formatting changes

* revert: Fix cached directional shadows disappearing when going out of shadow range to never reappear #6802

* [RPW][1386964]Fix undo for DebugUI.Enum fields on the rendering debugger. #6632

* More explicit error message when trying to use Shader Graph nodes HDSceneColor, NormalFromHeight, DDX, DDY or DDXY in ray tracing #6254

* [RPW]Fix recovering the correct index for DebugUI.Enum field that are not autoenum (#6901)

* Proper Indoors scene template volume

* Update 004-CloudsFlaresDecals.png

Co-authored-by: emilybrown1 <88374601+emilybrown1@users.noreply.github.com>
Co-authored-by: FrancescoC-unity <43168857+FrancescoC-unity@users.noreply.github.com>
Co-authored-by: anisunity <42026998+anisunity@users.noreply.github.com>
Co-authored-by: JulienIgnace-Unity <julien@unity3d.com>
Co-authored-by: Kleber Garcia <kleber.garcia@unity3d.com>
Co-authored-by: Antoine Lelievre <antoinel@unity3d.com>
Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>
Co-authored-by: alex-vazquez <76204843+alex-vazquez@users.noreply.github.com>
Co-authored-by: Emmanuel Turquin <emmanuel@turquin.org>
Co-authored-by: Rémi Chapelain <remi.chapelain@unity3d.com>
sebastienlagarde added a commit that referenced this pull request Feb 1, 2022
* [HDRP 21.2] Backport various PRs (#6926)

* fixed typo and made style guide fixes (#6749)

* style guide fixes (#6750)

* Added menu trail to change atlas resolution (#6755)

* Clarified how to find hdrp in package manager (#6756)

* made style guide fixes (#6762)

* added new instructions for photoshop colour channels (#6769)

* made naming of AO consistent (#6771)

* Removed reference to 3d with extras project (#6781)

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* Added default value (#6770)

* Added default value

* Fixed merge issue

* undo wrong fix

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* Merge Hd/bugfix #6791

* Fix warning on baking set renaming #6808

* Renamed the Exposure field to Exposure Compensation in sky volume overrides (case 1392530). #6801

* Refresh baking set scene list when one baking set is removed. #6811

* clarified how to change mode (#6871)

* fixed screenshot annotation colour (#6872)

* fixed formatting (#6873)

* fixed name of Game view (#6874)

* fixed note formatting (#6875)

* new screenshot and fixed table formatting (#6889)

* minor style guide changes (#6904)

* remove italics, note formatting (#6906)

* fixed typo "on following GPUs" > on the following GPUs (#6909)

* Post Process can now be edited in the default frame settings. #6816

* Fixed errors spamming when in player mode due to ray tracing light cluster debug view (case 1390471). #6820

* Fixed missing unit in ray tracing related tooltips and docs (case 1397491). #6822

* [Fogbugz # 1386436] Fixing FPTL failing when near and far are very tight. #6826

* Fixed an issue where forced sky update would not update ambient probe. #6831

* Fixed a null ref exception in Volume Explorer #6834

* Cleaning up FPTL early out for ps4 and PC (#6882)

* Changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* [HDRP] Fix static sky lighting update when render textures are updated #6863

* Quality update of custom post process (#6856)

* Disable the clouds in the indoor sample scenes (normal and DXR) #6908

* Fixed using the wrong coordinate to compute the sampling direction for the screen space global illumination. #6903

* Update VolumeParameter.cs

* Replaced view lighting tool with light anchor (#6829)

* Replaced view lighting tool with light anchor

* Update View-Lighting-Tool.md

* Apply formatting changes

* revert: Fix cached directional shadows disappearing when going out of shadow range to never reappear #6802

* [RPW][1386964]Fix undo for DebugUI.Enum fields on the rendering debugger. #6632

* More explicit error message when trying to use Shader Graph nodes HDSceneColor, NormalFromHeight, DDX, DDY or DDXY in ray tracing #6254

* [RPW]Fix recovering the correct index for DebugUI.Enum field that are not autoenum (#6901)

* Proper Indoors scene template volume

* Update 004-CloudsFlaresDecals.png

Co-authored-by: emilybrown1 <88374601+emilybrown1@users.noreply.github.com>
Co-authored-by: FrancescoC-unity <43168857+FrancescoC-unity@users.noreply.github.com>
Co-authored-by: anisunity <42026998+anisunity@users.noreply.github.com>
Co-authored-by: JulienIgnace-Unity <julien@unity3d.com>
Co-authored-by: Kleber Garcia <kleber.garcia@unity3d.com>
Co-authored-by: Antoine Lelievre <antoinel@unity3d.com>
Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>
Co-authored-by: alex-vazquez <76204843+alex-vazquez@users.noreply.github.com>
Co-authored-by: Emmanuel Turquin <emmanuel@turquin.org>
Co-authored-by: Rémi Chapelain <remi.chapelain@unity3d.com>

* Fixed missing capital and UI bolding (#6876)

* [RPW]Fix Diffusion Profile Volume Component inspector when opened wit… #6799

* Disabled the "Reflect Sky" feature in the case of transparent screenspace reflections for the water system. #6725

Co-authored-by: emilybrown1 <88374601+emilybrown1@users.noreply.github.com>
Co-authored-by: FrancescoC-unity <43168857+FrancescoC-unity@users.noreply.github.com>
Co-authored-by: anisunity <42026998+anisunity@users.noreply.github.com>
Co-authored-by: JulienIgnace-Unity <julien@unity3d.com>
Co-authored-by: Kleber Garcia <kleber.garcia@unity3d.com>
Co-authored-by: Antoine Lelievre <antoinel@unity3d.com>
Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>
Co-authored-by: alex-vazquez <76204843+alex-vazquez@users.noreply.github.com>
Co-authored-by: Emmanuel Turquin <emmanuel@turquin.org>
Co-authored-by: Rémi Chapelain <remi.chapelain@unity3d.com>
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.

6 participants