Skip to content

innogames/asset-relations-viewer-addressables

Repository files navigation

asset-relations-viewer-addressables

Addon for AssetRelationsViewer to support the unity addressable system.

Tested with addressables version 1.2.2 and up. Not compatible with verified version 1.1.x!

Needs at least v1.5.0 of AssetRelationsViewer!

Package dependencies

  • com.innogames.asset-relations-viewer
  • com.unity.addressables

Installation

For Unity 2018.3 or later (Using Unity Package Manager)

Find the manifest.json file in the packages folder of your project and edit it to look like this:

{
  "dependencies": {
    "com.innogames.asset-relations-viewer-addressables": "https://github.com/innogames/asset-relations-viewer-addressables.git",
    ...
  },
}

If you are in production and not want to get automatic updates always use a tagged version like:

	...
    "com.innogames.asset-relations-viewer-addressables": "https://github.com/innogames/asset-relations-viewer-addressables.git#1.4.2",
    ...

Dependency types

With the Addressables addon three new dependency types are added.

Asset->Asset by AssetReference

In addressables a different Object can be referenced by a so called AssetReference instead of UnityEngine.Object
To display these references this node type needs to be enabled.





AddressableAssetGroup->Asset

AddressableAssetGroups of the Addressable system contain a list of assets.
By enabling this dependency type these assets can be viewed as a dependency.

Asset->AddressableAssetGroup

Used to display the dependecy of an asset to the AddressableAssetGroup it is part of.
This is basically the opposite direction of the AddressableAssetGroup->Asset dependency.
This can be used to display birectional dependencies between assets and AddressableAssetGroups when also the AddressableAssetGroup->Asset is enabled.

Note

Having both AddressableAssetGroup->Asset and Asset->AddressableAssetGroup enabled at the same time can lead to very large dependency trees if AssetBundles have a lot of dependencies to other AssetBundles.
Before enabling both the NodeDepth: should be reduced to something like 4. Otherwise generating the tree structure can take very long.

Node handlers

The addressables addon adds one new typehandler

AddressableAssetGroups

Options specific to AddressableAssetGroups.

Selected group: Shows the currently selected AddressableAssetGroup.
Filter: Filters the dropdown for a specific name.
Groups: Dropdown to select one of the know AddressableAssetGroups.

Limitations

Currently only displays groups in the default settings group.





About

No description, website, or topics provided.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages