Results 3 comments of etherny

if you can target sub .net version it can fix your issue too. I'm having the same issue, and i juste downgrade .net to 2.1 (but keep il2cpp enabled) i'm...

Same issue here, colyseus onMessage room method not supporting custom class with il2cpp. Workaround used : Send your message as string (use JSON.stringify) and deserialize it manually in the onMessage...

> Look like assembly issue because i can use Colyseus classes as custom message. Here an exemple with lobby room message `room.OnMessage("rooms", onRooms);`