I’m trying to do something similar to Unreal Tournament’s pickups where there is an in editor only mesh being spawned for pickups.
In my case, I have something similar to WeaponAttachment actors that I call DisplayObject. I use them for anything, pickups, weapons, etc… This way I can have arbitrary components that I create in blueprint instead of only specifying a skeletal mesh for something.
So I’m trying to spawn this DisplayObject in editor only and it’s not showing up, following similar logic to UT. I can see with breakpoints that all the code is being called, but my actor isn’t showing up while in editor. It all works perfrectly in game though so I know that code path is working.
Is it even possible to attach actors in the editor in real time? Or am I only able to attach components in editor in real time similarly to how it’s done in UTPickupInventory::CreatePickupMesh()