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.
1 parent 891f3cf commit 5d59eb3Copy full SHA for 5d59eb3
MLAPI/NetworkingManagerComponents/Binary/BitReader.cs
@@ -161,7 +161,7 @@ public object ReadObjectPacked(Type type)
161
return null;
162
}
163
164
- if (type == typeof(NetworkedBehaviour))
+ if (typeof(NetworkedBehaviour).IsAssignableFrom(type))
165
{
166
ulong networkId = ReadUInt64Packed();
167
ushort behaviourId = ReadUInt16Packed();
0 commit comments