Comments (7)
I'm very close to having finished refactoring it to use GUIDs, so you can check out the diff when it's done.
from project-curator.
This also applies to assets that are moved.
from project-curator.
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?
from project-curator.
Hi @rhys-vdw !
It is supposed to update when an asset is moved (and renamed I guess) but I'll check the reproduction steps when I have some time :)
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!
from project-curator.
Good timing. I just started looking into it. I'll let you know how I go.
from project-curator.
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 AssetInfo
stored GUIDs then there would be no need to handle the move case at all, because there is no change to references resulting in a file move.
from project-curator.
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.
from project-curator.
Related Issues (13)
- Dependencies should be not collected recursively
- Support OpenUPM HOT 2
- Large number of warnings being raised by `RemoveAssetFromDatabase` HOT 4
- Move `ProjectCuratorSettings.json` out of `ProjectSettings/`
- Improve overall performances HOT 1
- License Missing HOT 1
- ArgumentException: GUID required HOT 8
- Warning logged when deleting folder HOT 2
- Use GUID type HOT 4
- LICENSE.meta file for LICENSE file HOT 1
- Editor freezes when deleting a lot of "not included" assets HOT 2
- Referencers are lost on an object when moved / updated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from project-curator.