Search Unity

Feature Request Profiler for plugins

Discussion in 'Editor & General Support' started by adamstepinski, Apr 15, 2021.

  1. adamstepinski

    adamstepinski

    Joined:
    Aug 7, 2015
    Posts:
    32
    Sometimes plugins use a lot of CPU / GPU in Editor when idle

    I tried using profiler but it says little about plugins' scripts, usually all it shows are normal Unity functions

    It would be great if you could filter how much CPU / GPU plugins use in Editor, to somehow connect plugins' scripts to the statistics shown in Profiler
     
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    1,557
    Hi Adam,

    Plugin developers can use the Profiler plug-in API to surface their performance metrics in the Unity Profiler already. If you have specific plugins in mind, you could reach out to the developers behind these and ask them to use this API. However, support for GPU instrumentation is still pending to be added to the API.

    Since the Unity Profiler is an instrumentation profiler and not a sampling profiler, offering an API to add instrumentation from the plug-in side is so far the only thing we can do here.
     
    adamstepinski likes this.
unityunity