-
Notifications
You must be signed in to change notification settings - Fork 844
Added define for new reflection probe API update (case 1290521) #4323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It appears that you made a non-draft PR! |
* Add null check * changelog
* Remove unneeded position from input layout of light cluster * Changelog Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
…4313) * Skip adding the LOD's renderer to the checked renderer if it's null * changelog * Add LODgroup missing renderer to "check scene content for ray tracing" * formatting test * formatting Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
…ind will be impacted (#4325) * Update doc * Fix doc
* Fixed an issue where sometime a docked lookdev could be rendered at zero size and break. * Update changelog # Conflicts: # com.unity.render-pipelines.high-definition/CHANGELOG.md Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
…fers (#4333) * Updated troubleshooting custom pass doc * Update Custom-Pass-Troubleshooting.md
…#4337) * Fixed an issue where runtime debug window UI would leak game objects. * Update changelog
… and view direction is near zero (#4342) Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Fix ray tracing unlit emissive exposure. Changelog * Automated tests coverage * update scenes Co-authored-by: Remi Chapelain <remi.chapelain@unity3d.com> Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
… DRS is on. (#4346) * Fixing bad pyramid color source texture size. DRS hanlder must be queried since the mip levels depend on the source hardware resolution * Changelog Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked HDRP Template project on latest trunk calling multiple On Demand probes. Seems good. No GC Allocs occur, probes remain to be updated correctly.
Note to self: retarget to master once hd/bugfix is merge |
Purpose of this PR
Fixes 1290521.
GC memory allocation was performed because of a previous workaround.
Appropriate code is now enabled with a define starting from 2021.2.0a16 and there are no more GC memory allocated.
Testing status
PlayerLoop/ScriptableRuntimeReflectionSystemWrapper.Internal_ScriptableRuntimeReflectionSystemWrapper_TickRealtimeProbe()
, it should allocate 81B of GC memory.Unity.RenderPipelines.HighDefinition.Runtime
asmdef
the defineREFLECTION_PROBE_UPDATE_CACHED_DATA_AVAILABLE
must be applied forUnity
starting from2021.2.0a16
(this is what this PR is about)Comments to reviewers