Commit ddfa20d
Fix issues when inspecting renderer and volume profile assets under specific circumstances
This PR fixes two issues:
https://jira.unity3d.com/browse/UUM-71897
Regression from recent PR https://github.cds.internal.unity3d.com/unity/unity/pull/48923 caused errors to be printed if URP is not the active pipeline when inspecting URP renderer assets. Added a null check.
https://jira.unity3d.com/browse/UUM-71890
When opening the editor, it's possible SRP is configured to be used but it has not been activated. In this situation you may see an empty volume inspector. Adding a message to let user know what is happening.1 parent 2b4fed1 commit ddfa20d
2 files changed
Lines changed: 6 additions & 3 deletions
File tree
- Packages
- com.unity.render-pipelines.core/Editor/Volume
- com.unity.render-pipelines.universal/Editor
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
| 206 | + | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
0 commit comments