-
Notifications
You must be signed in to change notification settings - Fork 25
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
Database not updated when an asset is renamed #15
Comments
This also applies to assets that are moved. |
This is coming up a fair bit in my team, so I'm happy to schedule a fix. Are you open to a PR @ogxd? |
Hi @rhys-vdw ! project-curator/Editor/AssetProcessor.cs Line 65 in 5a5eb9a
Yes feel free to make a PR if you think you know where the issue lies! |
Good timing. I just started looking into it. I'll let you know how I go. |
It seems a fundamental issue here is that your AssetInfo class stores a list of paths instead of asset GUIDs. Is there a reason why this is the case? If |
Mhhh it has been a while since I wrote this, I don't recall the reasons for using a path instead of the Guid. I'll have a look at it! There are probably many improvements that could be done. |
I'm very close to having finished refactoring it to use GUIDs, so you can check out the diff when it's done. |
Firstly, thank you for this amazing project, it has become an important part of our workflow.
Our team has reported that references are not updated when an asset is renamed.
To reproduce:
Rebuilding the project fixes this problem.
The text was updated successfully, but these errors were encountered: