I have a problem, ActorA spawn a actorB like this:
ADCa* tempObject = (ADCa*)GetWorld()->SpawnActor(ADCa::StaticClass(), &Location);
when the actorB Destroy() himself actorA detect it for spawn again.
That all work fine, actorA try spawn again ActorB using the same spawn function and i got that message
LoggSpawn:Warning: SpawnActor failed because the spawned actor IsPendingKill
Since i c++ noob can be something basic but i not get it. what the problem?
if i not destroy the “old” actor works fine.