Add support for Addressables
Monsoonexe opened this issue · comments
Service
- WebView
- AssetManagement
- Communicator
- LogViewer
- Manager
- UI
- Profiler
- Adapter
- DLST
Version
1.2.2
Development Environment
2019.4.40 LTS
Current Behavior
The Asset Map locates direct object references to Unity Objects. References to Unity Objects through classes in the Addressables package (e.g. AssetReference
, AssetReferenceGameObject
) are serialized differently, so the Asset Map can't detect these references.
Expected Behavior
While the GetDependencys
class is looking through an object's serialized properties for object references, it could also look for classes that derive from known classes in the Addressables package, and get the guid that way.
The Asset Map could distinguish between 'direct' and 'indirect' references. This could be indicated on the Map with a different colored line.
Obviously assets referenced by their address, e.g. a string literal, cannot be tracked at all.
Stale issue. Please check this issue.