Preference option for disabling hierarchy icons

NodeCanvas Forums Support Preference option for disabling hierarchy icons

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12425
    zsoik
    Participant

    With the new 2.6.3 hierarchy icons I observed funny frame time hiccups in the profiler when a GraphOwner was disabled. I could trace it back to enforce repainting the hierarchy window as a consequence of that (which internally does a FindObjectsOfType<> which is the actual culprit for the slowdown, but – that’s unity internals so… yeah). I then figured the hierarchy window is redraw each time a graph owner changes state, so maybe there can be a preference option just like for all the other stuff (node icons, comment display, …) for showing/hiding the icons in the hierarchy? Then the expensive repaint wouldn’t have to be called anymore.

    (I guess this only happens when you have tons of game objects/components instances, because only then FindObjectsOfType<> will begin to slow down very dramatically)

    #12426
    Gavalakis
    Keymaster

    Hey,

    Yes, the hierarchy icons coloring/symbols based on graph state was a user request that I found interesting at the time and implemented right away, but I only realized the editor performance impact it has after the fact :/
    I will most probably completely remove this “state visualization” in the next release though, to avoid confusion of editor performance vs application performance.

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.