Attach remote profiler to server

How would I go about attaching the Unity profiler remotely to our server build? More specifically, how do I open the port range the remote tool searches through on a Multiplay server. I'd like to get some performance metrics there. Are there any other gotchas I should be aware of?

Thanks for your time

Hi, I think you choose perfect time to ask this question. We recently done some changes in ports we are using.

In the past we had:

  • 55000-55496 for player TCP/IP listening ports
  • 54997, 34997 as UDP broadcasting with player informations (*)

Now if you use newest version of 2020, 2021, 2022, 2023 we simplified things and you should only need:

  • 55000-55016 for player TCP/IP listening ports
  • 54997, 34997 as UDP broadcasting with player informations (*)

From gotchas when using broadcast you may not see players as we only doing UDP broadcasting on group "225.0.0.222". If this is a case you may be required to use IP address to connect.
(*) Use to show player informations in editor dropdown and player information in unity debugger plugins (Rider, Visual Studio, Visual Studio Code)

1 Like