Commit 28b4e0a
[RPW] Rely on the type object instead of type name
https://jira.unity3d.com/browse/UUM-68021
`Type.name` was used which accidentally instantiate HDRP Volume component of the same name. As both of them are Scriptable Object it was produced an exception when use it and not when it instantiates.1 parent af8e8fc commit 28b4e0a
2 files changed
Lines changed: 4 additions & 4 deletions
File tree
- Packages/com.unity.render-pipelines.universal/Editor
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
| 242 | + | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments