Replacing RootComponent in Actor resets it's position on level to Zero

For examaple we have ASomeActor defined in C++, and it is placed on map.

Than at some point during refactoring we decide to change it’s root component form USphereComponent to UBoxComponent, during a refactoring phase.

Recompile project and Boom. All actor positions a reset to zero.

Expected behavior: if we change RootComponent from one USceneComponent to other USceneComponent Actors does not loose their positions on map.

Best wish: Add some mechanism to retain as much component properties as possible by writing some conversion functions.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks