We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
object
1 parent 38a1510 commit 007ad36Copy full SHA for 007ad36
com.unity.netcode.gameobjects/Editor/CodeGen/INetworkSerializableILPP.cs
@@ -114,6 +114,10 @@ public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly)
114
// Get the field type and its base type
115
var fieldType = field.FieldType;
116
var baseType = fieldType.Resolve().BaseType;
117
+ if (baseType == null)
118
+ {
119
+ continue;
120
+ }
121
// This type stack is used for resolving NetworkVariableSerialization's T value
122
// When looking at base types, we get the type definition rather than the
123
// type reference... which means that we get the generic definition with an
0 commit comments