Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Help Wanted Intercepting and redirecting unity game network traffic to a specified network route.

Discussion in 'Netcode for GameObjects' started by unity_9659CA6C9A5DBB9E1A5F, Jun 21, 2021.

  1. unity_9659CA6C9A5DBB9E1A5F

    unity_9659CA6C9A5DBB9E1A5F

    Joined:
    Jun 16, 2021
    Posts:
    3
    I am currently working on a network project, and I am trying to intercept Unity multiplayer game network traffic and redirect it to a specified network route using Photon or Mirror or MLAPI networking engine; however, I could not find a script file or code that is responsible for the network routing and packet forwarding to modify the algorithm or to override existing methods.

    Would anyone please help me in this situation to guide me in the right direction? Knowing that I am new to the Unity platform.
     
  2. luke-unity

    luke-unity

    Unity Technologies

    Joined:
    Sep 30, 2020
    Posts:
    179
    There is no code/file which is responsible for that in the UnityEngine. These libraries use very different ways for doing network traffic. In the end they all use sockets so you would have to inject something on the socket level or lower. There are some operation system specific ways for accessing network traffic. I'd start with looking at tools like "Clumsy" which do this.
     
  3. unity_9659CA6C9A5DBB9E1A5F

    unity_9659CA6C9A5DBB9E1A5F

    Joined:
    Jun 16, 2021
    Posts:
    3
    :confused: I am stuck looking for ways to find where and how to inject something on the socket level. Would you please explain more? example?
     
unityunity