I got this warning when I tried to spawn actor with GetWorld()->SpawnActor
method
SpawnActor failed because the given transform is invalid
So, I used custom FActorSpawnParameters
for specifiy the actor must be spawned always:
FActorSpawnParameters spawnParams;
spawnParams.SpawnCollisionHandlingOverride = ESpawnActorCollisionHandlingMethod::AlwaysSpawn;
GetWorld()->SpawnActor<AActor>(ThrustActor, HitResult.Location, {}, spawnParams);
And this gives no any results!