docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NoneAssignment

    Assignment type used when the final type is not yet determined (e.g., CloudCode hosting before allocation completes) or for allocation errors. Contains only status information - no connection data.

    Inheritance
    object
    NoneAssignment
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Matchmaker.Models
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    [Preserve]
    [DataContract(Name = "NoneAssignment")]
    public class NoneAssignment

    Constructors

    NoneAssignment(string, string, StatusOptions)

    Assignment type used when the final type is not yet determined (e.g., CloudCode hosting before allocation completes) or for allocation errors. Contains only status information - no connection data.

    Declaration
    [Preserve]
    public NoneAssignment(string assignmentType, string message = null, NoneAssignment.StatusOptions status = (NoneAssignment.StatusOptions)0)
    Parameters
    Type Name Description
    string assignmentType

    assignmentType param

    string message

    Error details when status is 'Failed'. Common values include 'Allocation error: <details>' or 'AllocationError'.

    NoneAssignment.StatusOptions status

    The status of the assignment is one of Timeout, Failed, InProgress, Found

    Properties

    AssignmentType

    Parameter assignmentType of NoneAssignment

    Declaration
    [Preserve]
    [DataMember(Name = "assignmentType", IsRequired = true, EmitDefaultValue = true)]
    public string AssignmentType { get; }
    Property Value
    Type Description
    string

    Message

    Error details when status is 'Failed'. Common values include 'Allocation error: <details>' or 'AllocationError'.

    Declaration
    [Preserve]
    [DataMember(Name = "message", EmitDefaultValue = false)]
    public string Message { get; }
    Property Value
    Type Description
    string

    Status

    The status of the assignment is one of Timeout, Failed, InProgress, Found

    Declaration
    [Preserve]
    [JsonConverter(typeof(StringEnumConverter))]
    [DataMember(Name = "status", EmitDefaultValue = false)]
    public NoneAssignment.StatusOptions Status { get; }
    Property Value
    Type Description
    NoneAssignment.StatusOptions
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)