docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SteamNetworkingErrMsg

    The C++ char[k_cchMaxSteamNetworkingErrMsg] buffer (1024 bytes) that Steam fills with an English diagnostic message, meant for logs rather than UI. Read it with ToString().

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    [Serializable]
    public struct SteamNetworkingErrMsg

    Methods

    ToString()

    Decodes the message as UTF-8, up to the first null byte.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The message, or an empty string when the buffer was never filled.

    Overrides
    ValueType.ToString()
    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)