why is the spawn function, it does not work?

why is the spawn function, it does not work?
it does not spawn the actor but I changes the new map that is own just static-mesh, it is work.
and then i copy the spawn function from other project that is work in the other project, it is work. However I call the spawn function that does not work.

Hey,

If you open up your Output Log window it should show an error if it fails to spawn correctly.

Make sure that you are calling the spawn function from begin play and not the constructor. It will only work if the game world already exists.

If it’s spawned then try something like this:

1 Like