So, I made a simple system to play audio clips on AudioSources I create at runtime in ECS. I added an AudioClip in a class IComponentData. It works fine in the editor, but when I build a player, it does not work. I feel I lose the reference to the asset in the build.
Is this the way I should reference to assets such as AudioClips in Unity? If not, how?