Skip to content

It is recommended to call UnloadAll before moving the file. #4

@avan06

Description

@avan06

Inside the CompressFile method, when attempting to move a file using File.Move,
an "Access to the path is denied" Exception may occur
because the original file was not unloaded after being loaded with LoadBundleFile.

It is recommended to call UnloadAll before moving the file.

assetsManager.UnloadAll();
File.Move(file + ".temp", file, true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions