Skip to content

Speed up editor domain reloads - #42

Open
marek-jelo-jelinek wants to merge 2 commits into
pshtif:mainfrom
marek-jelo-jelinek:main
Open

Speed up editor domain reloads#42
marek-jelo-jelinek wants to merge 2 commits into
pshtif:mainfrom
marek-jelo-jelinek:main

Conversation

@marek-jelo-jelinek

Copy link
Copy Markdown
Contributor

Reduces domain reload time by removing two expensive operations from DashEditorCore static constructor:

  • Lazy-load graph assets: GraphAssets no longer scans and loads every graph asset on each domain reload. The collection is now populated on first access via the GraphAssets getter.
  • Optimize execution-order setup: SetExecutionOrder now loads the required script directly from its known path using AssetDatabase.LoadAssetAtPath, instead of using Resources.FindObjectsOfTypeAll, which loads every MonoScript in the project.

There is no behavior change as this only avoids unnecessary work during domain reloads.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant