docs.unity.cn
    Show / Hide Table of Contents

    Struct RpcSystemErrors

    A system responsible for handling all the Unity.NetCode.RpcSystem.ProtocolVersionError created by the RpcSystem while receiving rpcs.

    The connection that generated the Unity.NetCode.RpcSystem.ProtocolVersionError will be disconnected, by adding a NetworkStreamRequestDisconnect component, and a verbose error message containing the following is reported to the application:

    - The local protocol.

    - The remote protocol.

    - The list of all registered rpc.

    - The list of all registered serializer.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    [UpdateInGroup(typeof(GhostSimulationSystemGroup))]
    [BurstCompile]
    public struct RpcSystemErrors : ISystem
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023