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. Dismiss Notice

Feedback UI: Entity->Systems window displayed hierarchy broken

Discussion in 'Entity Component System' started by FaithlessOne, Apr 9, 2023.

  1. FaithlessOne

    FaithlessOne

    Joined:
    Jun 19, 2017
    Posts:
    257
    In Unity 2022.2.14 the Unity editor window for displaying the Systems is broken. The children system of all system groups are NOT indented so they cannot be distinguished from systems that are not belonging to the group:

    "After Physics System Group" is collapsed:
    upload_2023-4-9_13-30-31.png

    "After Physics System Group" is expanded, but the systems which are belonging to the group cannot be directly seen here, because no indentation is used:
    upload_2023-4-9_13-31-23.png
     
    NT_Ninetails, PeppeJ2 and boyaregames like this.
  2. ThomasEgan

    ThomasEgan

    Joined:
    Dec 17, 2013
    Posts:
    20
    So it looks like the UI toolkit elements are being constructed correctly but the problem is that the selector .unity-tree-view__item-indent no longer defines a width.
    I was able to fix this by editing the entities package and adding the following to dots-editor-common.uss
    Code (uss):
    1. .unity-tree-view__item-indent
    2. {
    3.     width:12px;
    4. }
    I haven't been able to figure out how to fix it without editing the package, adding the snippet to Assets\Editor\StyleSheets\Extensions\common.uss didn't change anything even though I can make changes to other parts of the editor in this way.
     
    BackgroundMover likes this.
  3. FaithlessOne

    FaithlessOne

    Joined:
    Jun 19, 2017
    Posts:
    257
    Thanks for sharing a solution. Still hope this will be fixed directly in the entities package with the next release.
     
  4. ThomasEgan

    ThomasEgan

    Joined:
    Dec 17, 2013
    Posts:
    20
    Bumping as this is still occurring in 1.0.8 using the 2022.2.19 editor.
    I've created a bug report for this issue, IN-41037
     
    Walley7, mcapdegelle, PeppeJ2 and 2 others like this.