Struct FCreateTicketResponse

Important: Unity Matchmaker currently supports Multiplay hosting, or a client-hosted solution provided by Unity, such as Relay and Distributed Authority. The team is working on extending support to third party hosting providers (including Multiplay by Rocket Science and others), and is aiming to deliver this support in advance of March 31st, 2026. Matchmaker will continue to work with Relay and Distributed Authority.

Include
#include <MatchmakerClient/Public/Models/CreateTicketResponse.h>
Syntax
USTRUCT(BlueprintType)
struct FCreateTicketResponse

Fields

WasSuccessful

Indicates if the request was completed successfully.

Declaration
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
bool bWasSuccessful = false
Blueprint
NameTypeDefault value
Was SuccessfulBooleanfalse
C++
NameTypeDefault value
bWasSuccessfulboolfalse

TicketId

The ID for the matchmaking ticket that was created.

Declaration
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
FGuid TicketId
Blueprint
NameType
Ticket IdFGuid Struct
C++
NameType
TicketIdFGuid

ErrorMessage

An error message detailing the error.

Declaration
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
FString ErrorMessage
Blueprint

| Name | Type | |:---|:---|:---|:---| | Error Message | String |

C++
NameType
ErrorMessageFString

ErrorCode

Error Code (MatchmakerExceptionReason) as int32 for Blueprint compatibility.

Declaration
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
int32 ErrorCode = Matchmaker::kMatchmakerExceptionOffset
Blueprint

| Name | Type | Default value | |:---|:---|:---|:---|:--- | Error Code | Integer | 0 |

C++
NameTypeDefault value
ErrorCodeint320

Methods

GetReasonEnum()

Declaration
EMatchmakerExceptionReason GetReasonEnum() const
Returns
TypeDescription
EMatchmakerExceptionReasonThe exception reason as a EMatchmakerExceptionReason.