Spawning blueprint actors in c++

This happens because you are creating a temporary and using it’s address. Try saving the location out into a local variable, then passing that variable in by it’s address.