Hi guys,
I’m having really weird issue atm. What I’m trying to do is to set custom name to assets using metadata to show in the packaged build. However, after packaging, some tags are not properly registered or perhaps missing in AssetRegistry? See image below
They both have the 2 tags Name and World from metadata (the tag names are also added to Asset Manager Metadata array settings). And the tags are random as well, sometimes an asset will have the correct tags, sometimes it doesn’t.
Any idea how to deal with these guys I’m basically lost
Ok I think I may know why. During the packaging process, GetAssetRegistryTags() is called per asset to scan for tags to add, however since there’s a check for IsCompiling(), it may have failed for some assets, hence the rest of the tags are not added. I suppose this is only added recently as there are no checks in UE4 previous versions.
In Editor, it seems to work fine the next time you pull the tags, however during packaging process it just skips entirely.