SetActorLocationAndRotation not works in a package game

I use SetActorLocationAndRotation in BeginPlay event. The method works well in editor build, but not works in a build exe. I feel the properties are not set or overwritten in a packaged build exe.
Do anyone have same issue ? Thanks