Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

FilterTags editor UI unusably slow in larger projects #23

Description

@YoriKv

The FilterTagsDrawable class responsible for drawing the UI for the FilterTags property field runs so slowly as to be unusable in larger projects. The reason for this seems to be that the list of choices for the dropdown calls the function GetAllInteractibleObjects() every OnGUI (every frame, or possibly even more often). This function searches all objects in the current scene and also all objects in the project assets and for larger projects takes a significant amount of time.

Solution would be to cache the results of the process that requires GetAllInteractibleObjects() so it only gets called the first time the UI is rendered instead of every OnGUI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions