Skip to content

AssetPlugin always creates empty assets directory #11208

Closed

Description

@nvdaz

Bevy version

0.12.1 and b6da40c

What you did

App::new().add_plugins(AssetPlugin::default());

What went wrong

Merely adding AssetPlugin to an app creates an assets directory. Projects that don't load assets from the file system are left with an empty folder. This folder was not auto created in 0.11.

Additional information

Looks like this behavior was added in #8624.
The folder is created here.

Activity

  1. added
    C-BugAn unexpected or incorrect behavior
    S-Needs-TriageThis issue needs to be labelled
    on Jan 3, 2024
  2. added
    A-AssetsLoad files from disk to use for things like images, models, and sounds
    and removed
    S-Needs-TriageThis issue needs to be labelled
    on Jan 5, 2024
  3. added a commit that references this issue on Jan 8, 2024
    2847cc6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions