Table of Contents

SetConnectionValidationPayload

Methods
public void SetConnectionValidationPayload(CustomPayload userPayload)

Set the UserPayload to be used for connection validation. This payload will be sent to the host/simulator when connecting to a room or world that has HostAuthority.ValidateConnection feature enabled. This must be called before calling Connect() or JoinRoom() if you want to send a custom payload.

Parameters
Type Name Description
CustomPayload userPayload