Commit 82d98a5
* fix: NullReferenceException during ImportReferences in
NetworkBehaviourILPP (#1378)
In some cases, for example when assembly is System.Colletions.Immutable, null value is passed to .Add() method causing NullReferenceException
during the build. Simply guarding against it solves the issue.
Co-authored with @JadenH
Co-authored-by: rafek <rafal.legiedz@gmail.com>
1 parent d00fcdf commit 82d98a5
File tree
1 file changed
+5
-1
lines changed- com.unity.netcode.gameobjects/Editor/CodeGen
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
316 | 320 | | |
317 | 321 | | |
318 | 322 | | |
| |||
0 commit comments