Commit c7d5852
[Port] [2022.3] [SRPF] Fix an exception when delegate target is empty
.Net 8 and .Net Standard have a different behaviour for RuntimeHelpers.GetHashCode
In .Net 8 it's acceptable to pass null. https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.runtimehelpers.gethashcode?view=net-8.0
In Standard it's not. https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.runtimehelpers.gethashcode?view=netstandard-2.11 parent df6f5c3 commit c7d5852
File tree
1 file changed
+1
-1
lines changed- Packages/com.unity.render-pipelines.core/Runtime/Utilities
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments