View Issue Details

IDProjectCategoryLast Update
0027122AI War 2Bug - GameplayApr 23, 2022 7:15 pm
Reporterathros Assigned ToBadgerBadger  
Status closedResolutionno change required 
Product Version5.001 First Post-Completion Tweaks 
Summary0027122: Ironman failed to delete save, popped up error.
DescriptionError log popped up stating an inability to delete save. I am currently playing on ironman, 2 Diff 8 AI's. Save game attached.

Error Log:
4/23/2022 12:25:57 PM 5.001 SINGLEP DELAYED68 TID17 Could not delete savegame: C:/Program Files (x86)/Steam/steamapps/common/AI War 2/PlayerData/Save/v5_2AI_D8_002/Ironman Save at 5m 3s.save
This is generally because some other process is using it; Steam Cloud saves, an OS backup, etc. Please try again later.
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <002074f2c5454719a050c70097372072>:0
  at Arcen.Universal.World.DeleteSaveGame (System.String FullSaveName, System.Boolean CareAboutSavegameMissing, System.Boolean CareAboutLackOfMetadata) [0x00000] in <002074f2c5454719a050c70097372072>:0
  at Arcen.AIW2.External.GameCommand_DeleteAllSaveGames.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x00000] in <8d70f143d9a84c9dac4c33a2904b5185>:0
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <00e91dd727574feebb65ab80a8eebe93>:0
  at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_ExecuteGameCommandsThatWereScheduled (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <00e91dd727574feebb65ab80a8eebe93>:0
  at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <8d70f143d9a84c9dac4c33a2904b5185>:0
  at Arcen.AIW2.Core.Engine_AIW2.<ProcessArbitraryFrameOnMainThread>b__75_0 () [0x00000] in <00e91dd727574feebb65ab80a8eebe93>:0
  at Arcen.Universal.ArcenThreading+<>c__DisplayClass13_0.<RunTaskOnBackgroundThread>b__0 () [0x00000] in <002074f2c5454719a050c70097372072>:0
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.Execute () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
TagsNo tags attached.

Activities

athros

Apr 23, 2022 2:31 pm

reporter  

v5_2AI_D8_002.zip (130,597 bytes)

BadgerBadger

Apr 23, 2022 3:40 pm

manager   ~0066312

This is an OS problem; your OS is preventing the game from deleting the file. I'm not sure there's anything we can do about this

athros

Apr 23, 2022 4:18 pm

reporter   ~0066316

Understood. I'll dig into it a bit more on my side and see what I can find. Worst case I'll turn off Ironman - no biggie.

athros

Apr 23, 2022 7:00 pm

reporter   ~0066326

It seems that Steam is locking the file as it syncs it to the cloud, so if the autosave deletion on Ironman hits while it's doing that, Error log. There doesn't seem to be any detriment to the gameplay, or how the game runs as far as I can tell.

Interestingly enough it seems to be really intermittent when Steam is making the decision to sync the file, which is why I've only seen it twice ever.

Easy Fix is to disable either Cloud Saves, disable Ironman, or to simply ignore the error and turn off logging via UI prompt.

BadgerBadger

Apr 23, 2022 7:15 pm

manager   ~0066328

Sounds like there are easy workarounds then

Issue History

Date Modified Username Field Change
Apr 23, 2022 2:31 pm athros New Issue
Apr 23, 2022 2:31 pm athros File Added: v5_2AI_D8_002.zip
Apr 23, 2022 3:40 pm BadgerBadger Note Added: 0066312
Apr 23, 2022 4:18 pm athros Note Added: 0066316
Apr 23, 2022 7:00 pm athros Note Added: 0066326
Apr 23, 2022 7:15 pm BadgerBadger Assigned To => BadgerBadger
Apr 23, 2022 7:15 pm BadgerBadger Status new => closed
Apr 23, 2022 7:15 pm BadgerBadger Resolution open => no change required
Apr 23, 2022 7:15 pm BadgerBadger Note Added: 0066328