Player state not valid after ServerTravel

This problem still exists on UE5.0.2. Is there any better solution? I think this kind of solution is more like magic hahaha.