Add a player creation callback

If manual player creation is enabled, you can configure a callback to be triggered when a player creation response is received. The callback must be of type Action<PlayerCreator.CreatePlayer.ReceivedResponse>.

Deserialize data into the same type you originally serialized from

The data serialized in the previous step is sent across to the server-worker as part of the player creation request. This data is passed in as the playerCreationArguments parameter of the entity template delegate that is invoked.

Ensure that you are deserializing the byte array into the same type of object you serialized it from. For example: