RevenantX / LiteNetLib

Lite reliable UDP library for Mono and .NET
https://revenantx.github.io/LiteNetLib/index.html
MIT License
3.06k stars 495 forks source link

Custom serializable class arriving with default values #510

Closed brzaknemanja closed 1 year ago

brzaknemanja commented 1 year ago

Hello, I followed documentations and example projects on how to send custom class as a packet, but on the server side I receive default values. I'm adding a code example and result in screenshots. I don't have a clue why it is not working. Can you please help me?

Server client custom packet result

RevenantX commented 1 year ago

@brzaknemanja if you using INetSerializable then use method SendNetSerializable