Skip to content

EddyEditor: editor can occasionally fail to save a file, crashing. #98

Description

@Krzyhau
Unhandled exception. System.IO.IOException: The process cannot access the file 'D:\Gry\Steam\steamapps\common\FEZ\Mods\LibraryLeaps\Assets\levels\libraryleaps_intro.fezlvl.json' because it is being used by another process.
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.FileInfo.Create()
   at FezEditor.Tools.DirResourceProvider.Save[T](String path, T asset)
   at FezEditor.Tools.ModResourceProvider.Save[T](String path, T asset)
   at FezEditor.Services.EditorService.SaveActiveEditorChanges()
   at FezEditor.Services.EditorService.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.RunLoop()
   at Microsoft.Xna.Framework.Game.Run()
   at FezEditor.FezEditor.Main(String[] args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions