playcanvas / editor

Issue tracker for the PlayCanvas Editor
https://playcanvas.com/
155 stars 28 forks source link

Having many items in an opened folder/scene hierarchy degrades performance #862

Closed lucaheft closed 2 years ago

lucaheft commented 2 years ago

Description

When opening a folder in the assets panel, which contains many items, performance of the editor degrades drastically. Same behaviour also applies for the scene hierarchy panel.

This is probably not a "bug" with the editor but has more to do with how pcui renders those elements. I think a solution which is applied often in this case, is to not render the items which are not in view (hidden because of scroll bar).

Steps to Reproduce

  1. Create a folder with many items inside
  2. Open the folder
  3. Performance is bad
yaustar commented 2 years ago

Closed as duplicate of https://github.com/playcanvas/editor/issues/746