Netcode (Inspector, type not renderable)

Unity 2022.3.14f1
Netcode 1.7.1

Hi, this appears in the inspector “type not renderable”. Who knows how to solve the problem?

public NetworkVariable<PlayersData> playersData = new NetworkVariable<PlayersData>(default, NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission.Owner);

public struct PlayersData : INetworkSerializable
{
   public int _int;

   public void NetworkSerialize<T>(BufferSerializer<T> serializer) where T : IReaderWriter
   {
      serializer.SerializeValue(ref _int);
   }
}

Maybe missing a [System.Serializable] on your structs?

public NetworkVariable<PlayersData> playersData = new NetworkVariable<PlayersData>(default, NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission.Owner);

[System.Serializable]
public struct PlayersData : INetworkSerializable
{
   public int _int;
     
   public void NetworkSerialize<T>(BufferSerializer<T> serializer) where T : IReaderWriter
   {
      serializer.SerializeValue(ref _int);
   }
}

all the same

with MonoBehavior the inspector shows, but with NetworkBehaviour, no “type not renderable”

Hello
I have encounted the same situation.May I ask if you find a solution for this?thanks