Spawned actors visible after stopping, not during play

I’ve created a blueprint function SliceToolTest, that is exposed to blueprint. In this function some ASliceActor should be spawned, but I cannot see them during play, I need to stop the game for them to appear. If I stop the game and start it again they’re still visible.


After CreateMeshSection(), you can try this:

SliceActor->Mesh->MarkRenderStateDirty();

You can also try setting a material.