Skip to content

Repository status is refreshing every second without any configuration available #38

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

Open
bguyl opened this issue Dec 6, 2021 · 2 comments

Comments

@bguyl
Copy link

bguyl commented Dec 6, 2021

Description

Every second, the package refresh the repository and cause an AssetDatabase.Refresh() which cause lag spikes

Expected behavior: [What you expect to happen]

A mean to configure how much the repository is refreshed or something less consuming than an AssetDatabase.Refresh() call

@Cdddo
Copy link

Cdddo commented Jan 19, 2022

Looking at the profiler it seems to be related to Tasks.MainThreadSynchronizationContext.Update, pushing out a 40 ms spike every second.

It's not related to the UI as it happens even if the UI window is closed. I discovered that you can get rid of the spikes if you disable Auto Refresh and Directory Monitoring in the Asset Pipeline Preferences, though that of course is undesirable.

Unfortunately I don't know how to fix it and I'm afraid this project is effectively abandoned. A shame as it made using git with unity much easier.

@Mushe94
Copy link

Mushe94 commented Jan 23, 2022

It started to happen with 2021.2 for reference if anyone finds this.

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

3 participants