Soft reference and data asset

hi everyone, i’m new in unreal engine and try undrestand data asset and soft references.

I have a question about this simply case:

Inside this data asset are 4 static mesh variables.

During the above example, will it load all the static mesh into memory or only one of them ?

1 Like

The point of using load on demand assets is, nothing is loaded until you say so.

Here, your cast will preload the blueprint with a DAP_TEST, because a cast creates a hard reference.

If the meshes in DAP_TEST are empty until you set them, obviously nothing will be loaded. But if you have default meshes, they will get loaded ( and all the textures ) because of the cast.

You might try cast to a generic engine type, like actor, and talking to it with an interface. Then, nothing is loaded ( until you say ).

1 Like

I understand, thanks a lot for your help. I had to make sure I was thinking correctly :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.