Skip to content
This repository was archived by the owner on Oct 4, 2025. It is now read-only.
This repository was archived by the owner on Oct 4, 2025. It is now read-only.

Cannot access a closed stream. #731

@legplan

Description

@legplan

I am not very tech savvy, and trying to replace a 2dtexture file in a steam game. whenever I try to save the changes, it pops out a window with this error code:
There was a problem while writing the file: System.ObjectDisposedException: Cannot access a closed Stream. at System.IO.Strategies.BufferedFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin) at System.IO.FileStream.set_Position(Int64 value) at AssetsTools.NET.AssetsFileReader.set_Position(Int64 value) at AssetsTools.NET.AssetsFile.Write(AssetsFileWriter writer, Int64 filePos, List 1 replacers, ClassDatabaseFile typeMeta) at UABEAvalonia.InfoWindow.SaveFile(Boolean saveAs) in D:\a\UABEA\UABEA\UABEAvalonia\InfoWindow.axaml.cs:line 576

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions