[SCENE GRAPH] mesh_component is removed from entity on mesh asset rename/move to different folder

Summary

Having an entity with mesh_component attached, when the mesh asset is renamed or moved, the mesh_component is removed from the entity on next Verse build.

There is a warning that describes that it will happen, but Verse build should probably detect rename/move of the asset and automatically replace it (or manually ask for reference swap) instead of removing the component without ability to undo this.

There is also another side-effect: After renaming the asset, we cannot rename it back because there is a “phantom” asset with original name that is not showing in Content Browser, but is in the folder. It stays there indefinitelly.

Note: This does not apply only to renaming/moving of the mesh asset, but any asset that is referenced in any component!

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Assets

Steps to Reproduce

  • Add any entity
  • Have a static mesh asset located in project
  • Attach mesh_component with the static mesh asset
  • Rebuild Verse
  • Rename/move the asset
  • Rebuild Verse
  • Warning pop-up informing that we will loose the reference
  • Clicking “Rebuild” have no effect
  • Clicking “Continue” results in loosing the mesh_component on any entity that was using this asset

Expected Result

Clicking “Rebuild” should replace the reference so mesh_component is not lost
OR
everything should automatically change to new reference
OR
user should be asked to replace the reference manually

Observed Result

-mesh_component is deleted

  • We are also now unable to rename the asset back to original name as there is “phantom” asset in directory with the old name that is unremovable.

Platform(s)

Win11 (but probably any)

Video

FORT-1032765 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.