favoyang / unity-addressable-importer

A rule based addressable asset importer
MIT License
885 stars 124 forks source link

I cannot set an address to a directory #26

Closed masak2 closed 4 years ago

masak2 commented 4 years ago

Path:Assets/Addressable/Test$ MatchType:Regex

This does not set an address.

Path:Assets/Addressable/Test MatchType:Wildcard This sets address to all fiels under Test directory.

I hope to be fixed that this addon sets an address to any directory.

favoyang commented 4 years ago

This should work, when you use Context menu > Reimport (or just create the Test folder).

But failed with Context menu > Addressable Importer Check Folder(s), which won't send directory itself to the importer. The behavior is inconsistent. I consider it a bug, and just fixed in https://github.com/favoyang/unity-addressable-importer/commit/18923eb3ca4e5e33eb28eaa620fdc0a63258b495

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 0.7.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

favoyang commented 4 years ago

@masak2,

Please check out v0.7.1 and docs https://github.com/favoyang/unity-addressable-importer/blob/master/Documentation~/AddressableImporter.md#rule-examples

masak2 commented 4 years ago

Thanks, it works well.