You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been testing the asset auditing tool these days and I've encountered some problems that I don't know how to solve. After creating a profile with its own filters and so on, I understood that if I imported assets into the folder that contains this profile, the assets would show later in the Asset Auditor window, but they don't. The window is simply empty whatever I do without any errors showing up.
I've tried debugging the AssetsTreeView script to see what is happening, and it seems that it never adds new associatedAssets to any profile. What am I missing exactly? I'm sure I'm missing a step that I didn't really understand. Like setting up the .userData file as you say it's required, but how really? if( Filter.Conforms( assetPath, profile.GetFilters() ) ) associatedAssets.Add( assetPath );
Thanks!
The text was updated successfully, but these errors were encountered:
I am not sure what it is that is causing this. I attempted to recreate your setup and it displayed what I expected. One thing to note, is that the filesize is in bytes, so a 10k png is quite small. If you are expecting this at a different scale, then that could be the cause.
Because with a large project filtering all the Assets in the project is slow. If you make changes to the project files or the filters. You also need to manually refresh the auditing window (button on top right), if you have not done that also?
I'm sure I'm missing a step that I didn't really understand. Like setting up the .userData file as you say it's required, but how really?
This is not required for this purpose.
The .userData is a value that you can set to an asset importer. The reason why this tool uses this is in order to use it with the cache server. Setting the .userData allows it to assign changes to the meta data file, in order to change the precomputed hash AssetDatabase.GetAssetDependencyHash explains what this is calculated from. This is automatic set when processing. But no processing would have happened if the filters do not find it.
If that does not help you could send me an example and I can debug it to find the cause?
Hi there!
I've been testing the asset auditing tool these days and I've encountered some problems that I don't know how to solve. After creating a profile with its own filters and so on, I understood that if I imported assets into the folder that contains this profile, the assets would show later in the Asset Auditor window, but they don't. The window is simply empty whatever I do without any errors showing up.
I've tried debugging the AssetsTreeView script to see what is happening, and it seems that it never adds new associatedAssets to any profile. What am I missing exactly? I'm sure I'm missing a step that I didn't really understand. Like setting up the .userData file as you say it's required, but how really?
if( Filter.Conforms( assetPath, profile.GetFilters() ) ) associatedAssets.Add( assetPath );
Thanks!
The text was updated successfully, but these errors were encountered: