Search Unity

Suggestion: Visualization of dependencies

Discussion in 'Entity Component System' started by Yacuzo, Aug 31, 2018.

  1. Yacuzo

    Yacuzo

    Joined:
    Sep 22, 2016
    Posts:
    27
    Hi,

    Based on what I read in other threads, and my own experience, most of the complexity with ECS/jobs will be in the dependency graph of jobs and components. It would be very helpful if there was an editor window where you could search up a component/system/job and get the full dependency graph for that item, rendered kind of like the animation systems state graph. Between Roslyn and the animation system, I think you have most of the functions needed for this already.

    This could even be built out into a visual debugging system in the future.

    I really like where ECS is going. Managing code at an enterprise scale in the old GameObject world is a pain.

    Regards,
    André
     
    Micz84 likes this.
  2. Micz84

    Micz84

    Joined:
    Jul 21, 2012
    Posts:
    451
    I agree. It would be nice to see all systems and barriers too as nodes with dependencies. It could also serve as a debug view.

    I wanted to do something simple with UIElements to just visualize all systems as rectangles and manually place them on canvas accordingly. But did not have time to learn it.