Skip to content

Fix slowdown in prefab generator ignoring recursive flag#1015

Open
TrevorSundberg wants to merge 1 commit intoFirstGearGames:mainfrom
TrevorSundberg:main
Open

Fix slowdown in prefab generator ignoring recursive flag#1015
TrevorSundberg wants to merge 1 commit intoFirstGearGames:mainfrom
TrevorSundberg:main

Conversation

@TrevorSundberg
Copy link

Fixes #1005
Remove the exit early path since it disregards the recursive bool. This is a performance win when scanning only the /Asset directory (but not any sub-directories).

Prefab generation for a large project went from ~8000ms to ~500ms

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.

Recursive flag ignored if there's no excluded paths in prefab generator

1 participant