I've fixed the Actor spawning issues. There were a few things that needed to be taken care of:
I'll have a new build by end of day
- Location at spawn: I set this in the spawn parameter itself (instead of setting it after it is spawned). BeginPlay shows the correct location
- Actors were not spawning in standalone builds because the owner of the template actor was not set properly and was getting garbage collected. I set the owner to the theme file and it stays while cooking the game
- Actors were not being spawned properly from the templates when the template was created in the theme file but the blueprint was later modified later. This made the spawning fail (since the actor template when it was created was from an older version of the blueprint which was later changed). I fix this by creating another template actor from the latest blueprint class and copying over the properties of the older original actor template.
I'll have a new build by end of day
Comment