UPROPERTY(EditAnywhere) causes actor Transform to disappear

I guess you didn’t create a SceneComponent in c++ Code