edit: The bug has since disappeared for me since closing and reopening the editor. It’s working as intended now. The Skeletal Mesh isn’t getting loaded automatically.
I just tested this out with Skeletal Meshes and you are right, it gets loaded automatically. You can get around this bug/limitation by using Data Assets. You store a hard reference to the SkelMesh in a data asset, and you store a soft reference to the data asset. Load the data asset then get the skel mesh reference from it.
Quick tutorial on using Data Assets in BluePrint
- Create a New BP that inherits from Primary Data Asset. I’ll call this Skel_PDA
- Open Skel_PDA and add a Variable that is a Hard Obj Reference to a Skeletal Mesh. Compile and Save.
- Right Click in the Content Browser and go to Miscellaneous>Data Asset
- Choose Skel_PDA as the Data Asset Class. I’ll name this Skel_DA
- Open Skel_DA and set the Skeleton Mesh Obj variable to whatever you wish. You can create several of these DA the same way and give each one a different Skeleton Mesh.
- Now you can create a variable that is a Soft Obj Reference to type Skel_PDA and set it’s value to Skel_DA. Then you would Async Load that DataAsset and get the Skeleton Mesh from it.