Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大量のファイルアクセスで処理が遅くなっていそう #796

Open
Azukimochi opened this issue Mar 20, 2024 · 1 comment
Open

Comments

@Azukimochi
Copy link
Contributor

自分のアバターケースの話ですが、Manual Bakeの際に1分40秒ほどかかっていたため、プロファイルデータを見てみたところ大量のAssetsへのアクセスがあり遅くなっていることが分かったため報告しておきます。

NDM Framework - Plugin sequence display

image

Profiler

負荷の大部分にfile.readが認められる
image

Profiler - FileAccess

ZZZ_GeneratedAssetsへの大量のアクセスが認められる
今回のケースで同一のAssetsへ48,000アクセスほど
image

@bdunderscore
Copy link
Owner

After some offline discussion with Azukimochi, this looks to have been caused by an AssetDatabase.SaveAssets call in another asset. TODO: Look into whether we can protect against this sort of thing?

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

No branches or pull requests

2 participants