it looks like somehow your physics body is marked to be deleted, idk how that happened though, I tried a similar BP code and didn’t encounter such a problem.
on the other hand my approach to actor activation/deactivation was rather simple, sth. like below code:
void setActorActive(AActor* actor, bool active)
{
//set actor states
actor->SetActorHiddenInGame(!active);
actor->SetActorEnableCollision(active);
actor->SetActorTickEnabled(active);
//set component tick states
TInlineComponentArray<UActorComponent*> components;
actor->GetComponents(components);
for (int i = 0; i < components.Num(); i++)
{
components[i]->SetComponentTickEnabled(active);
}
//...
}