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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How to do memory profiling for Linux DGS when running in Multiplay?

Discussion in 'Game Server Hosting' started by unity_03BA514BAC145D0E9AB3, Mar 9, 2023.

  1. unity_03BA514BAC145D0E9AB3

    unity_03BA514BAC145D0E9AB3

    Joined:
    Feb 18, 2023
    Posts:
    7
    Hi, Can we connect memory profiler for Linux DGS running in Multiplay? I have a problems with memory leaks for my server but only happen in Linux build. I see memory usage increased with or without player joined, but it's strange because when I tested locally with Windows DGS build, there is no leaks, and profiler seems fine. I use Photon Fusion and Unity 2021.3.12f1.
     
    alexeyzakharov likes this.
  2. alexeyzakharov

    alexeyzakharov

    Unity Technologies

    Joined:
    Jul 2, 2014
    Posts:
    507
    If you use development player, then you should be able to connect to the server by IP with the Memory Profiler.

    There should be no port blocking by default on the Multiplay side.
    Unity players listen on the
    55000 
    port by default and you can also specify is in the cmdline or BootConfig parameter as
    player-connection-listen-address
     
    MartinTilo likes this.