editor icon indicating copy to clipboard operation
editor copied to clipboard

"Used" assets does not respect script attributes

Open Maksims opened this issue 1 year ago • 2 comments

"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, but 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.

Maksims avatar Jul 05 '24 15:07 Maksims

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

willeastcott avatar Jul 09 '24 15:07 willeastcott

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

Maksims avatar Jul 09 '24 16:07 Maksims