Save System IO Error

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
NotVeryProfessional
Posts: 150
Joined: Mon Nov 23, 2020 6:35 am

Save System IO Error

Post by NotVeryProfessional »

An error I've seen in the Unity Dashboard (cloud error reporting):
IOException: The process cannot access the file because it is being used by another process.

PixelCrushers.DiskSavedGameDataStorer.WriteStringToFile (System.String filename, System.String data) (at <0b3cc1a06dcd4da486dadca7e5bb9517>:0)
PixelCrushers.DiskSavedGameDataStorer.StoreSavedGameData (System.Int32 slotNumber, PixelCrushers.SavedGameData savedGameData) (at <0b3cc1a06dcd4da486dadca7e5bb9517>:0)
PixelCrushers.SavedGameDataStorer+<StoreSavedGameDataAsync>d__8.MoveNext () (at <0b3cc1a06dcd4da486dadca7e5bb9517>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <a54a0c127922410a875e6369eb1b0c62>:0)
Not sure if there's anything I can do here, just passing it on, maybe something to catch?
User avatar
Tony Li
Posts: 22152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save System IO Error

Post by Tony Li »

Hi,

I'll consider adding that as something to catch, although my initial instinct is to allow the exception to rise up to the developer's code and not intercept it, since different developer may want to handle it differently in their projects.
Post Reply