Does Static Mesh Array Variable is expensive?

If I declare static mesh array variable in Blue Print Object and add data element to the variable.
Will UE load the static mesh in the array imediately when the blueprint object shown on screen or not?

I have a music player blueprint that plays background music on the levels, and it contains an array of all sound cues with music tracks. Since UE only accepts .Wav, the music assets a quire large, about 20 MB each. I thought they all would be loaded into memory as soon as the music player is spawned; however, after auditing the memory dump made during the game, I saw that the music player only occupied a few MBs of memory.
I don’t know for sure how it works internally, I can only tell you what I saw for myself. I’d be happy if someone could provide some insights about it.

1 Like

The engine internally converts audio to 16-bit format PCM files.

1 Like

Depends on how you implement the mesh. If it’s bound to an actor, then it’ll load. Otherwise it isn’t loaded.