I’ve a case where I am trying to get metadata at runtime but it returns null. It worked before but now has suddenly stopped working. I cleared the addressables cache and rebuilt it. It doesn’t work in the editor with the “Use Existing Build” play mode script nor in the build.
It does work correctly with PMS set to “Use Asset Database”.
The metadata is clearly setup in the table and exists but the code returns null for some reason.
Is this metadata using #if UNITY_EDITOR?
Can you print out all the metadata with localizedAudioClip.MetadataEntries?
It sounds like ti may be going null during Addressables building, which usually indicates the script is not available in the build.
It’s strange that it’s working in editor but not player. It makes me think that something is still being cached. Can you test it on a different machine?
Can you try calling clear cache?