Enum SessionError
The type of error related to sessions
Namespace: Unity.Services.Multiplayer
Syntax
public enum SessionError
Fields
Name | Description | Value |
---|---|---|
None | Default value. | 0 |
Unknown | The error returned when the error is undetermined. | 1 |
NotAuthorized | The error returned when the player is not authorized. | 2 |
NotInLobby | The error returned when the player is not in a lobby. | 3 |
LobbyAlreadyExists | The error returned when the player is already in a lobby. | 4 |
SessionTypeAlreadyExists | The error returned when a session type is already in use. | 5 |
SessionNotFound | The error returned when the session cannot be found. | 6 |
SessionDeleted | The error returned when the session has been deleted. | 7 |
AllocationAlreadyExists | The error returned when an allocation already exists. | 8 |
AllocationNotFound | The error returned when the allocation cannot be found. | 9 |
Forbidden | The error returned when executing a method without the adequate permissions. | 10 |
RateLimitExceeded | The error returned when exceeding the rate limit. | 11 |
InvalidParameter | The error returned when a parameter is missing or not in the right format. | 12 |
InvalidMatchmakerTicket | The error returned when a matchmaker ticket is null or empty. | 13 |
InvalidMatchmakerAssignment | The error returned when a matchmaker assignment is invalid. | 14 |
InvalidMatchmakerState | The error returned when the matchmaker state is invalid for the operation performed. | 15 |
InvalidMatchmakerResults | The error returned when the matchmaker results are invalid. | 16 |
InvalidNetworkConfig | The error returned when the network configuration is invalid. | 17 |
InvalidSessionMetadata | The error returned when the session metadata is invalid. | 18 |
InvalidPlatformOperation | The error returned when the platform operation is invalid. | 19 |
InvalidOperation | The error returned when the operation is invalid. | 20 |
MatchmakerAssignmentFailed | The error returned when the matchmaker assignment fails. | 21 |
MatchmakerAssignmentTimeout | The error returned when the matchmaker assignment times out. | 22 |
MatchmakerCancelled | The error returned when the matchmaker is cancelled. | 23 |
MissingAssembly | The error returned when the project does not the required dependencies. | 24 |
MultiplayServerError | The error returned by a multiplayer server. | 25 |
NetworkManagerNotInitialized | The error returned when network manager fails to initialize. | 26 |
NetworkManagerStartFailed | The error returned when network manager fails to start. | 27 |
NetworkSetupFailed | The error returned when the connection fails. | 28 |
TranportComponentMissing | The error returned when transport layer component is missing. | 29 |
TransportComponentMissing | The error returned when transport layer component is missing. | 29 |
TransportInvalid | The error returned when transport layer is invalid. | 30 |
AlreadySubscribedToLobby | The error returned when the player has already subscribed to the lobby. | 31 |
InvalidCreateSessionOptions | The error returned when the create session options are invalid. | 32 |
InvalidBackfillTicket | The error returned when the backfill ticket is invalid. | 33 |
InvalidLocalMatchProperties | The error returned when the local match properties are invalid. | 34 |
InvalidPlayerTeam | The error returned when the player's team is invalid. | 35 |
PlayerMissingTeamProperties | The error returned when the player's team property is missing. | 36 |
QoSMeasurementFailed | The error returned when QoS measurement fails. | 37 |