How do I fix 'The asset '/Game/Maps/Level' (Level.umap) failed to save.' ?

I now get this almost every time I load and try to save this level.

Some context:

  • This is in UE4.27.2.
  • This is a sub/streamed level in persistent level that’s set to always load. If I load the map on it own this seems to be less of an issue.
  • The file is set to read+write for user and group (this is windows) and shouldn’t be locked in git either.
  • This is on a fresh boot and only one instance of UE4 is loaded.
  • This started out as an every now and then thing and now is all but constant.
  • The only way I was able to get it to save again before was to close the editor and re-open it and then it would let me save again… at least for a little while.
  • This is NOT only on my computer. It IS happening on everyone’s computer with this file.

I need to get this fixed at this point. What’s something I could at least try that isn’t above to get this fixed once and for all?

Anyone have any info about this? I’m happy to experiment if you have some ideas as I could try!

We now have this same exact issue in the “logic” sub-level of our new level.

I’ve had to restart my editor no less than 20 times since that last post…

hi there,

AFAIK, this usually happens when your level has an asset from the Engine’s folder, for instance, a sphere mesh was placed in the level, and its default material has been changed. You won’t be able to save this change. So copy the sphere mesh to your content folder, place in the level, and then you can modify it at your will.

1 Like

Maybe another UE thread is not close.

That makes sense… I’ll test that when I get back to my computer… I think one of the actors I use for all of our logic levels may be using that sphere mesh you were talking about. I’ll let you know one way or the other, but thank you!

Have made sure of that, but thank you for your input!

I couldn’t find anything that stood out, any ideas on a good way to find the culprit? I thought it would be my “quest” actor because when I place it in the world it has that sphere marker that shows, but I don’t so any component on it that actually maps that sphere mesh so I’m guessing that’s just the default marker for a BP.

Hi there,
Can you please show a screenshot of the output log when the error appears? Try to filter first by errors and then by warnings as shown below.

Typically, this error can happen when you open two instances of the same project. In addition, examine your level and the components of your quest actor. The cause can be if you’re using any editable component from the Engine folder, such as meshes, blueprints, materials, etc.

1 Like

Of course when I’m trying to reproduce it to get logs it takes it a while to reproduce, but here are the logs I got when it finally happened again:

Cmd: OBJ SAVEPACKAGE PACKAGE=“/Game/Maps/Level_TUT/Level_Tut_Logic” FILE=“I:/Projects/game/Content/Maps/Level_TUT/Level_Tut_Logic.umap” SILENT=true AUTOSAVING=false KEEPDIRTY=false
LogUObjectHash: Compacting FUObjectHashTables data took 13.71ms
LogSavePackage: Moving ‘I:/Projects/game/Saved/Level_Tut_LogicAA737C07411B48705BC70BA9B60BC21A.tmp’ to ‘I:/Projects/game/Content/Maps/Level_TUT/Level_Tut_Logic.umap’
LogFileManager: Warning: DeleteFile was unable to delete ‘I:/Projects/game/Content/Maps/Level_TUT/Level_Tut_Logic.umap’, retrying in .5s…
LogFileManager: Error: Error deleting file ‘I:/Projects/game/Content/Maps/Level_TUT/Level_Tut_Logic.umap’.
LogSavePackage: Error: Error saving ‘I:/Projects/game/Content/Maps/Level_TUT/Level_Tut_Logic.umap’
EditorErrors: New page: Save Output
EditorErrors: Warning: Error saving ‘I:/Projects/game/Content/Maps/Level_TUT/Level_Tut_Logic.umap’

Thank you for posting the log. Have you deleted files or moved folders around? Try to remove redirectors and run a map check under Build menu. Also, check if your naming conventions for your levels are causing the issue. Can you use Save Current Level as and pick a simpler name without underscores?

I’ll see if I can find something helpful and let you know
Fixing the “Failed to Save” Error in Unreal Engine - YouTube
Failed to save! Unreal engine 4 error solving - YouTube
image

So far no luck only rename or the redirectors/map check, but I did notice there are underscores in the path as well, so I’ll try changing that as well and let you know.

No luck :-/

We do use the basic Cube and Plane as invisible structures to make sure the npcs involved in the level logic don’t fall through the world… could that be it?

Hi there, yes that could be the reason. So try to copy the meshes from the engine folder to your project folder and update all references to make sure all blueprints instances in the level are taking the meshes from your project folder. Typically, invisible walls are made with collision block volumes, not meshes. Hope that helps.

Looking through the new logic level that has started having the same issue. We don’t have any of those objects in there :-/ Sorry, this is VERY frustrating. Thank you for your help so far! The fact that it’s so speratic (some times I can get 3 good saves, some times 1) makes it difficult in multiple ways…

It’s hard to tell, I’ll see what I can find and let you know.

1 Like

So I recently re-wrote our quest system to use a deeper data table instead of multiple actors and have moved away from using the level blueprint of a “Logic” level that’s aways loaded, and it seems to helped the issue greatly! not sure which helped more or why they were an issue that would cause this, but haven’t run into this issue since moving to the new quest system! ^^ Thank you @L.F.A for your help!

1 Like

Happy to mark something as the solution, but hard to say which to mark^^;