Description

Renaming map using builder will break soft obj refs and warnings will also appear in the log:

Warning: Serialized Class /Script/Engine.World for a property of Class /Script/Engine.Actor. Reference will be nullptred.    Property = SoftObjectProperty /Game/ActorWithSoftRef.ActorWithSoftRef_C:SoftRef    Item = World /Game/SoftRefsIssueRename.SoftRefsIssueRenameWarning: Serialized Class /Script/Engine.World for a property of Class /Script/Engine.Actor. Reference will be nullptred.    Property = SoftObjectProperty /Game/ActorWithSoftRef.ActorWithSoftRef_C:SoftRef    Item = World /Game/SoftRefsIssueRename.SoftRefsIssueRename 
Steps to Reproduce

Repro project provided from UDN:

  • Open `SoftRefIssueRename` map.
  • Check that `ActorWithSoftRef` and `ActorWithSoftRef2` have soft obj refs to each other.
  • Close and then run WorldPartitionRenameDuplicateBuilder:
    • UnrealEditor.exe "WPDupBugs.uproject" "/Game/DuplicateActorIssue" -run=WorldPartitionBuilderCommandlet -builder=WorldPartitionRenameDuplicateBuilder -NewPackage=/Game/DuplicateActorIssueRename -Rename
  • Open map and check the actors.
  • The refs are now `none`

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-191206 in the post.

0
Login to Vote

Unresolved
CreatedJul 26, 2023
UpdatedMay 3, 2024