My Unreal project was acting up and asking me to create a C++ class in a different folder, so I decided to shut down and regenerate the folders.
After shutting down, I’ve realised my uproject has been deleted. And the only version I can find on my computer is in a different folder with about 80 hours of work missing. I know I can regenerate from the C++ files, but I had a ton of blueprint work done too.
Here is the folder it should be in: Is there any way to fix this?
Losing project files can be frustrating, but there are a few steps you can take to try to recover your work:
Check the Recycling Bin/Trash: On Windows, check the Recycling Bin, and on macOS, check the Trash. It’s possible that the project file or related files were accidentally deleted and can be restored from there.
Search for .uproject Files: Perform a system-wide search for Unreal Engine project files (.uproject). Sometimes, projects might be saved in unexpected locations, especially if you have multiple Unreal Engine installations or projects.
Check Auto-Backup Folder: Unreal Engine often creates auto-backup files that can be found in the Saved/Backup folder within your project directory. Look for recent backups there.
Source Control (e.g., Git): If you were using source control (such as Git), check the repository for the latest committed changes. You may be able to clone or pull the repository to retrieve the latest version of your project.
Windows File History or Time Machine (macOS): If you had Windows File History or Time Machine enabled, you might be able to restore your project to a previous state. These features create backups over time, allowing you to roll back to a specific point.
Windows Previous Versions: On Windows, right-click on the parent folder containing your project and select “Restore previous versions.” This may allow you to recover an older version of the project folder.
Check Cloud Storage Services: If you have cloud storage services (e.g., OneDrive, Dropbox) enabled, check if your project files were synced or backed up to the cloud.
Recovery Software: If none of the above solutions work, consider using file recovery software. Tools like Recuva (for Windows) or Disk Drill (for macOS) may help recover deleted files.
Contact Unreal Engine Support: If you’re unable to recover your project using the above methods, consider reaching out to Unreal Engine support. Provide them with details about your situation, and they may be able to offer guidance or assistance.
Remember to create regular backups of your projects in the future to prevent such situations. Losing work is always tough, but with a bit of effort, you might be able to recover some or all of your project files.
So now when I regenerate, none of my C++ files which are in the source folder come up. And if I create a new C++ class it gives me this error. It’s no longer letting me access the source file I’ve had up until now. Any ideas?
This is the folder I’ve been using for weeks.
C:\SpaceCombatOnline\Source\SpaceCombatOnline
All my source code is in there, now out of nowhere Unreal is telling me all my source code must exist somewhere else. It refuses to regenerate and find my C++ files.
Bumping in hope someone has a solution tomorrow. I’ve regenerated the project files multiple times and the .sln file is kaput. It just points me to UE5 not my project source now.
So I have a source folder with all my C++ files, and all my blueprints are intact. However, I can’t get the game to recognise my C++ Source. Does anyone have any ideas?