Unable to set Instigator /4.19

Specifically, when I assign the Pawn to the SpawnParams on a “gun” object which then spawns projectiles, Instigator is null on the created projectile. I’m using a slightly modified version of the First Person Shooter template.

Relevant code lines:

FActorSpawnParameters ActorSpawnParams;
auto Stepone = Recaster->GetAttachParentActor(); // this succesfully returns the PlayerCharacter ACharacter
auto MyParentPawn = Cast(Stepone); // this gets the Pawn from the above for passing to the SpawnParam
ActorSpawnParams.Instigator = MyParentPawn;
World->SpawnActor(ProjectileClass, SpawnLocation, SpawnRotation, ActorSpawnParams);

Any help would be appreciated. Thank you!

Did you ever solve this? I have the same issue. My character c++ calls to the gun which creates the projectile. On the Character class, I can see an instigator, but as soon as it gets to the gun, the instigator returns none.