Skip to content

flame_texturepacker 5.1.0 throws exception when loading image located in /images #3861

@8symbols

Description

@8symbols

What happened?

If you run flame_texturepacker/example, you'll get the following exception:
Unable to load asset: "assets/images/images/sprite_sheet1.png".

It appears that after #3845, the "images" prefix is ​​added twice to the png file path.

What do you expect?

Image is loaded as before 5.1.0, or the example is updated to reflect the new required directory structure.

How can we reproduce this?

Reproduces in the example

What steps should take to fix this?

No response

Do have an example of where the bug occurs?

No response

Relevant log output

Execute in a terminal and put output into the code block below

Output of: flutter doctor -v

Affected platforms

All

Other information

No response

Are you interested in working on a PR for this?

  • I want to work on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions