Table of Contents

onValidateConnectionRequest

Invoked on Simulator when a client wants to connect and ValidateConnection is enabled.

Returns

UnityEventCountable<ConnectionValidationRequest>
Invoked on when a client wants to connect and is enabled.
Remarks

Invoked only on Simulator connections. The validation occurs when your code executes Respond(ConnectionValidationResponse). You can delay any number of frames the execution. However, the validation will time out based on the Replication Server disconnect timeout, that can be configured via the --disconnect-timeout command-line flag. You must ensure there's only one call to this method.