Commit ba49d61
Graphics/SRP/RPF - [UUM-70492 bis] Calling Render Graph Viewer before resources deallocation
This is a follow-up PR of #48436 which was a temporary fix of [UUM-70492](https://jira.unity3d.com/browse/UUM-70492):
- Safety test is re-enabled in RenderGraphResourceRegistry
- Debug data function is called only in Editor mode as Render Graph Viewer is only visible within it.
- Debug data filling Render Graph Viewer is generated before Render Graph execution pass where we deallocate resources, potentially corrupting debug data.1 parent 554cd08 commit ba49d61
2 files changed
Lines changed: 7 additions & 4 deletions
File tree
- Packages/com.unity.render-pipelines.core/Runtime/RenderGraph
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
1227 | 1232 | | |
1228 | 1233 | | |
1229 | 1234 | | |
| |||
1249 | 1254 | | |
1250 | 1255 | | |
1251 | 1256 | | |
1252 | | - | |
1253 | | - | |
1254 | 1257 | | |
1255 | 1258 | | |
1256 | 1259 | | |
| |||
2547 | 2550 | | |
2548 | 2551 | | |
2549 | 2552 | | |
2550 | | - | |
| 2553 | + | |
2551 | 2554 | | |
2552 | 2555 | | |
2553 | 2556 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
781 | | - | |
| 781 | + | |
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
| |||
0 commit comments