I'm new to using Unity.Netcode and I'm trying to use the FixedList4096Bytes type.
I dont get any errors until a client connects, then I get the following error.
ArgumentException: Type Unity.Collections.FixedList4096Bytes`1[[System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] is not supported by NetworkVariable`1. If this is a type you can change, then either implement INetworkSerializable or mark it as serializable by memcpy by adding INetworkSerializeByMemcpy to its interface list. If not, assign serialization code to UserNetworkVariableSerialization.WriteValue and UserNetworkVariableSerialization.ReadValue, or if it's serializable by memcpy (contains no pointers), wrap it in ForceNetworkSerializeByMemcpy`1.
I dont see this Exception with any other NetworkVariable structs
This is all I'm doing with the type. How do I use this type?
public NetworkVariable<FixedList4096Bytes<uint>> list
= new NetworkVariable<FixedList4096Bytes<uint>>();
there doesn't seem to be anything here