-
-
Notifications
You must be signed in to change notification settings - Fork 837
Closed
Labels
Description
Describe the bug
Message like this are able to be sent and give no error or warning.
public class CreateCharacterMessage : MessageBase
{
public GameObject selectedPlayerPrefab;
}The problem with this is that the field will be null when when Deserialized.
Expected behavior
There should be an error or warning when Prefabs or other objects with netId = 0 are sent in message.
Additional context
This probably applies to Commands and RPC too