Hello.
I am trying to read a series of points from a file and spawn a mesh at those locations. This works fine as long as I hit “Play” within the editor.
If I start the Editor from the launcher, in other words not from Visual Studio, they do not show up. Neither do they if I Launch the application and start playing. Why is that?
I do the spawning by using the SpawnActor function like this in ASpawnVolume::Tick():
World->SpawnActor<AwallPart>((UClass*)WhatToSpawn, SpawnLocation, SpawnRotation, SpawnParams);
The result is as follows:
Play in editor.
Launch or editor started via launcher.
Any idea why it does not spawn unless I build and run the program through VS and then hit play?
Thank you so much in advance for all insight you can provide.