Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Many UIElements can drop editor Project view to a crawl

Discussion in 'UI Toolkit' started by andyz, Sep 12, 2020.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,251
    In 2019 LTS UIElements (in Unity's own editor code) seems unable to deal with large list of elements when only some are visible.

    You can see this with the UModeler Asset - when installed - if you [accidently] expand the dll (Editor/UModelerEditor) in the Project window which then has a huge list of sub-elements and the frame rate of the Project view, when trying to scroll (at least in one column view), becomes really unresponsive. Clearly trying to draw too many elements and should not be drawing things offscreen (?)
     
    Last edited: Sep 12, 2020
  2. Chris-Trueman

    Chris-Trueman

    Joined:
    Oct 10, 2014
    Posts:
    1,260
    Are you sure it's being rendered with UITK and not IMGUI? By default the editor is using IMGUI until Unity switches the editor over to use UITK fully.
     
  3. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,251
    Not entirely... could be IMGUI failing
     
  4. mcoted3d

    mcoted3d

    Unity Technologies

    Joined:
    Feb 3, 2016
    Posts:
    998
    There's work being done to improve the performance of UI Toolkit-based inspectors. I'm not sure about IMGUI though. If you can report a performance issue (Help > Report a Bug...) that would help us sort it out.