I found my Unreal project crashing whenever I tried to save a new level.
While troubleshoot this I found a new Unreal project didn’t crash when saving new levels, then remembered I had changed the name of one of the containing folders in the file path for the crashing project.
I changed the containing folder name back to what it was and the issue was resolved.
How do I manage this if I need to change the name of a containing folder or move a project in the future?
Thanks.
EDIT: This might be a part of project management essentials so I welcome any tips and best practices
Hey there @toygunfun! It’s recommended any change to any folder internally be done inside the content browser, as the engine must keep a registry of all assets and can only do that if any modification is done from inside the engine. Some folders cannot have their names changed, as data objects registered under them as well.
Hi @SupportiveEntity , the folder I renamed is three of four folders up from the project content folder so I can’t access it from inside the project Content Browser. Could renaming a folder outside of the project folder have caused a problem if I launched the project from the Launcher? The Launcher shows the project file path up to the very top macOS User folder.
EDIT: I may have found part of my own answer - I didn’t know you could open the project by double-clicking the .uproject file. I changed the name of a folder a couple of levels up from the project then opened the project from the .uproject file again and had no issues making and saving changes. This means you can move the project around? And it only causes problems if you use the Launcher to keep track of things?
Projects themselves are almost totally portable barring some operating systems without tweaks. The folder the project is inside can be moved almost anywhere and still function, but the contents inside need to remain mostly intact. Some common limitations are:
Moving to a subfolder that is managed by Onedrive or a similar syncing software due to the large amount of binary files that cannot handle being synced during operation.
Moving to a subfolder with non-standard characters can sometimes cause the engine to have some issues. For the most part this has been resolved, but in some cases there are still issues with anything outside of basic alpha numeric characters.
Moving to a subfolder of a read-only area will also make the project unable to function.
As you’ve learned, the project can be opened from it’s uProject file directly, and all that you did was make the launcher lose track of where the project was. You can browse to open to project from the launcher and it should remember where it is after opening from launcher this way. Changing where the project is will always make the launcher lose track of it.