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

"Used" assets does not respect script attributes anymore #1170

Open
Maksims opened this issue Jul 5, 2024 · 2 comments
Open

"Used" assets does not respect script attributes anymore #1170

Maksims opened this issue Jul 5, 2024 · 2 comments

Comments

@Maksims
Copy link

Maksims commented Jul 5, 2024

"Used" assets, is very useful feature for two use cases:

  1. Clean up projects and identify what is really used (referenced) and what is not.
  2. Replace assets with other versions using context menu > Replace.

This works for most asset slots, bit it has issues in two places:

  1. Script array attributes. It identifies that asset is used when Editor is loaded, but any modifications to script attributes (adding/removing etc) of this asset, does not update asset "used" state.
  2. Script attribute "json" type, and json array type. If schema includes "asset" type, referencing assets that way does not affect "used" state at all.
@willeastcott
Copy link
Contributor

Just to be clear, this is not a regression, right? You're just pointing out some longstanding problems with this feature?

@Maksims
Copy link
Author

Maksims commented Jul 9, 2024

I don't know if it is regression or wasn't implemented initially, just expected it to work.

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