Search Unity

Question Correctly Stress Testing Netcode

Discussion in 'Netcode for GameObjects' started by Juniorprs, Sep 12, 2022.

  1. Juniorprs

    Juniorprs

    Joined:
    Sep 14, 2020
    Posts:
    1
    Hello. I am currently trying to decide on what type of Network Solution to use for a project. And for that, i made a simple network stress test program for each solution.
    This program creates a GameObject that sends or receives messages of a fixed size every update (via Rpcs).


    However, when i run the NetCode version of the program, i keep getting the following message: "no free events for message in the pool".

    My NetworkManager is using the UNetTransport component with:
    • MessageBufferSize and MaxMessageQueueSize equal to 65535.
    • MessageSendMode equal to Immediately.

    Am i doing something wrong? Or is this the expected result when sending messages every update?