Revision control --> Revert Files: This action has deleted the file completely!

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Assets

Summary

I had some issues with my game crashing so I looked up some information on reverting to old saves. I ended up on the “View Changes” window. I right clicked a file I made edits to and selected “Revert Files”, the program then deleted my file from the Content Drawer. The only file that I can find that resembles anything close to the one that is missing is now int the projects → Saved file location. but it is a .tmp type so I cannot use it.

Steps to Reproduce

  1. Open Tools → View Changes
  2. Select “Default Uncontrolled Changelist (###)”
  3. In the window on the right select a file and right click
  4. Select “Revert Files”

Expected Result

I was expecting to have my file reverted to this saved state.

Observed Result

The file has been deleted from my project, and system folder.

Platform(s)

UE5.3

“Revert Files” reverts a file to its earlier version stored in Revision Control (which happens when you use the CHECK IN CHANGES button).
If the file is ADDED (meaning, never submitted to Revision Control), its earlier version is NONE and reverting an ADDED file will end up DELETING it.

I recommend reading Unreal Revision Control Best Practices.

1 Like