"Failed to save dependant map packages"

This is the error I received trying to save for the first time in Unreal 5.1. I ran a blank game project. Blueprint on, Platform Desktop, Quality Maximum, starter content turned on, and raytracing turned off.

I added a few items, playing along with Unreal Sensei’s latest tutorial. When I went to save, I got the error in the title. as well as 6 Editor errors, which you can see at the bottom of the log (which I can’t upload because I’m too new, so I’ve copy-pasted below.

After ‘saving,’ trying to save again with the same name says "A file with that name already exists,’ even though it doesn’t. Another thing I noticed is when it names these things in the LogSavePackage, it’s attenuating the previous names. for example: “…/Maps/112_111_TestSave_PostProcessExample_save1_NewMap_HLOD0_Instancing.asset” 112 through NewMap are all names I’ve tried to use to save this new map, just to recreate the issue and try to figure it out myself.

[2023.02.03-20.03.01:472][580]LogFileHelpers: InternalPromptForCheckoutAndSave started...
[2023.02.03-20.03.01:473][580]LogSavePackage: Moving output files for package: /Game/StarterContent/Maps/112_111_TestSave_PostProcessExample_save1_NewMap_HLOD0_Instancing
[2023.02.03-20.03.01:473][580]LogSavePackage: Moving '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Saved/112_111_TestSave_PostProcessExamFDBAC7E141E912146F7D57B395906A4A.tmp' to '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Content/StarterContent/Maps/112_111_TestSave_PostProcessExample_save1_NewMap_HLOD0_Instancing.uasset'
[2023.02.03-20.03.01:475][580]LogSavePackage: Moving output files for package: /Game/__ExternalActors__/StarterContent/Maps/112/B/0Y/YT2HF4XFMLV4VUHM5L8TEP
[2023.02.03-20.03.01:475][580]LogSavePackage: Moving '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Saved/YT2HF4XFMLV4VUHM5L8TEPB268AEF4460D9352035470B4AE9A4318.tmp' to '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Content/__ExternalActors__/StarterContent/Maps/112/B/0Y/YT2HF4XFMLV4VUHM5L8TEP.uasset'
[2023.02.03-20.03.01:476][580]LogSavePackage: Moving output files for package: /Game/__ExternalObjects__/StarterContent/Maps/112/6/BU/O6PEMKX59Y8Q91R7V99W9M

... (list shortened for space)

[2023.02.03-20.03.02:476][580]LogSavePackage: Moving '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Saved/M3445MT5UUSX42SN563ZZUB6A18ABE4868E6E5A926A9B7421D9EE7.tmp' to '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Content/__ExternalActors__/StarterContent/Maps/112/1/K1/M3445MT5UUSX42SN563ZZU.uasset'
[2023.02.03-20.03.02:480][580]LogSavePackage: Moving output files for package: /Game/__ExternalActors__/StarterContent/Maps/112/7/YH/8G01X81XGE5AWH6JOOVPXP
[2023.02.03-20.03.02:518][580]LogSavePackage: Moving output files for package: /Game/__ExternalActors__/StarterContent/Maps/112/B/Q9/OKQPYIB4RSVE7SA1JRJ1CS
[2023.02.03-20.03.02:518][580]LogSavePackage: Moving '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Saved/OKQPYIB4RSVE7SA1JRJ1CSF4ABC82A4735ADAB332C988AF2571CE7.tmp' to '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Content/__ExternalActors__/StarterContent/Maps/112/B/Q9/OKQPYIB4RSVE7SA1JRJ1CS.uasset'
[2023.02.03-20.03.02:523][580]LogSavePackage: Moving output files for package: /Game/__ExternalActors__/StarterContent/Maps/112/D/3P/AVJLKMF7K48Z45PO2GJSWK
[2023.02.03-20.03.02:523][580]LogSavePackage: Moving '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Saved/AVJLKMF7K48Z45PO2GJSWKD368A1A94A605A583C9CC4B3E9D6D8E1.tmp' to '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Content/__ExternalActors__/StarterContent/Maps/112/D/3P/AVJLKMF7K48Z45PO2GJSWK.uasset'
[2023.02.03-20.03.02:528][580]LogSavePackage: Moving output files for package: /Game/__ExternalActors__/StarterContent/Maps/112/B/0D/V9SSPZ3SLFLCKPOSZLZE6H
[2023.02.03-20.03.02:528][580]LogSavePackage: Moving '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Saved/V9SSPZ3SLFLCKPOSZLZE6HFEB016B34329E264F43B9CAF87CBE3CE.tmp' to '../../../../../../Users/chcg2/OneDrive/Documents/Unreal Projects/StarterProject/Content/__ExternalActors__/StarterContent/Maps/112/B/0D/V9SSPZ3SLFLCKPOSZLZE6H.uasset'
[2023.02.03-20.03.02:529][580]EditorErrors: New page: Save Output
[2023.02.03-20.03.02:529][580]EditorErrors: Error: Attempting to save bulkdata 85102017116BE8CCD57E4F8FBBDB3EA6 with an invalid payload to package '/Game/__ExternalActors__/StarterContent/Maps/112/6/GQ/MTVX6BPFXI59B7I0JKFSGM'. The package probably needs to be reverted/recreated to fix this.
[2023.02.03-20.03.02:529][580]EditorErrors: Error: Attempting to save bulkdata C8A3BA2163FBFBBE549434DD3F7D3DCD with an invalid payload to package '/Game/__ExternalActors__/StarterContent/Maps/112/6/GQ/MTVX6BPFXI59B7I0JKFSGM'. The package probably needs to be reverted/recreated to fix this.
[2023.02.03-20.03.02:529][580]EditorErrors: Error: Attempting to save bulkdata 79ADDAFF88C0EEFA9D6CCD4F73CE580D with an invalid payload to package '/Game/__ExternalActors__/StarterContent/Maps/112/6/GQ/MTVX6BPFXI59B7I0JKFSGM'. The package probably needs to be reverted/recreated to fix this.
[2023.02.03-20.03.02:529][580]EditorErrors: Error: Attempting to save bulkdata 2DB11DAC264848022D248567A3F8806D with an invalid payload to package '/Game/__ExternalActors__/StarterContent/Maps/112/4/EV/8WNQVBQA8DFMJ6YC83FFZS'. The package probably needs to be reverted/recreated to fix this.
[2023.02.03-20.03.02:529][580]EditorErrors: Error: Attempting to save bulkdata 607F8722126EB020A6D01A19E23A9042 with an invalid payload to package '/Game/__ExternalActors__/StarterContent/Maps/112/C/HI/7EWB2F7JVVSPFIKEMN96IG'. The package probably needs to be reverted/recreated to fix this.
[2023.02.03-20.03.02:529][580]EditorErrors: Error: Attempting to save bulkdata 5E20AF82E565D6B45D7699036434C78A with an invalid payload to package '/Game/__ExternalActors__/StarterContent/Maps/112/C/HI/7EWB2F7JVVSPFIKEMN96IG'. The package probably needs to be reverted/recreated to fix this.
[2023.02.03-20.03.02:582][580]Message dialog closed, result: Ok, title: Packages Failed To Save, text: The following assets failed to save correctly:
/Game/__ExternalActors__/StarterContent/Maps/112/6/GQ/MTVX6BPFXI59B7I0JKFSGM
/Game/__ExternalActors__/StarterContent/Maps/112/4/EV/8WNQVBQA8DFMJ6YC83FFZS
/Game/__ExternalActors__/StarterContent/Maps/112/C/HI/7EWB2F7JVVSPFIKEMN96IG
[2023.02.03-20.03.02:582][580]LogFileHelpers: InternalPromptForCheckoutAndSave took 1.11 sec (total: 1:07 min)
[2023.02.03-20.03.02:591][580]Message dialog closed, result: Ok, title: Unable to Check Out From Source Control!, text: The following assets could not be successfully checked out from source control:
/Game/StarterContent/Maps/112_111_TestSave_PostProcessExample_save1_NewMap_HLOD0_Instancing
/Game/__ExternalActors__/StarterContent/Maps/112/B/0Y/YT2HF4XFMLV4VUHM5L8TEP
... (list shortened for space)
/Game/__ExternalActors__/StarterContent/Maps/112/B/0D/V9SSPZ3SLFLCKPOSZLZE6H
[2023.02.03-20.03.11:225][580]LogSlate: Window 'Message' being destroyed
[2023.02.03-20.03.11:228][580]Message dialog closed, result: Ok, title: Message, text: Failed to save dependant map packages
[2023.02.03-20.03.11:260][580]LogFileHelpers: Saving map '112' took 9.911
[2023.02.03-20.03.11:285][580]AssetCheck: New page: Asset Save: 112_111_TestSave_PostProcessExample_save1_NewMap_HLOD0_Instancing
[2023.02.03-20.03.11:285][580]LogContentValidation: Display: Validating /Script/Engine.HLODLayer /Game/StarterContent/Maps/112_111_TestSave_PostProcessExample_save1_NewMap_HLOD0_Instancing.112_111_TestSave_PostProcessExample_save1_NewMap_HLOD0_Instancing
[2023.02.03-20.03.11:504][581]LogUObjectHash: Compacting FUObjectHashTables data took   0.56ms

It seems like Unreal Engine is having trouble moving some files to the final location after saving. The error message is referencing a number of external assets, which may be causing the issue.

Try the following steps to resolve the issue:

  • Make sure that the project folder has the necessary permissions to save files and assets.
  • Try to manually delete the “tmp” files in the “Saved” folder of your project, as they may be causing conflicts with the saving process.
  • If the issue persists, try creating a new project and see if the same problem occurs. This can help you determine if the issue is specific to this particular project or if it’s a general issue with Unreal Engine.
  • If the problem still persists, try restarting Unreal Engine and your computer.

Seeing this with a project saved to OneDrive as well. As added info, I’m teaching from a school setting and our OneDrive accounts are managed by the school district.