Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here:
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
  4. Join us on Thursday, September 29, for a day with Unity's SRP teams here on the forum or on Reddit, and discuss topics around URP, HDRP, and the Scriptable Render Pipeline in general.
    Dismiss Notice

Question Correctly Stress Testing Netcode

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

  1. Juniorprs


    Sep 14, 2020
    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?