Search Unity

Profiler data is empty on server mode - without graphics

Discussion in 'Multiplayer' started by fdsagizi2, May 11, 2018.

  1. fdsagizi2

    fdsagizi2

    Joined:
    Nov 4, 2013
    Posts:
    70
    Hi Unity team!

    When we use unity player on servers - without graphics ( -batchmode -nographics )

    and attach profiler to that player, network data is empty :(

    any another data work as usual( cpu times, memory, physics ... )
     
  2. larus

    larus

    Unity Technologies

    Joined:
    Oct 12, 2007
    Posts:
    280
    Hey, so unfortunately the profiler hookups were implemented by using editor APIs directly, so it can't work in a player. I don't why it was done that way, but it could have something to do with the HLAPI being an extension. So this is expected.

    There is work underway now to migrate the extension to the new package format, hopefully this will be successful, but it would also mean that the profiler panel gets even more trickier as the packages (currently) don't have access to creating profiler panels (current implementation actually could be made to work, but not made runtime compatible until that's supported in packages).