Objects spawned by BPs in level instance have different origins in PIE and packaged builds

Hello,

I created one persistent level and then used Load Level Instance to spawn some smaller levels inside. Each one of these has a BP which spawns objects around the floor of its level. It works fine in PIE, but in Dev and Shipping builds all spawned objects use the persistent level’s origin instead of those of its level. So mostly it ends up with a lot of objects in the middle of a persistent level.

Is there some kind of a workaround I can use for now?

I just realized what is really going on. My BPs spawn new actors in locations set in an array in Construction Script. When Construction Script runs inside Level Instance (not a Persistent Level) GetActorTransform node probably gives an empty result. It applies only to packaged builds.

The workaround was pretty simple, now I use GetActorTransform nodes after BeginPlay and it works like in the editor. Still, such discrepancy between PIE and packaged builds may cause problems in the future. Is it intentional?