Skip to content

Spine Atlases that refer to an image that contains an underscore character are not displayed. #5336

@Racoonacoon

Description

@Racoonacoon

Spine Plugin : e11c820
Phaser Build : 6bc858e

If a Spine atlas refers to a texture that has an underscore in its name, that texture will not display, and will instead return a "__MISSING" texture. I did some internal digging and it seems that the texture key is getting chopped before the first underscore, so it cannot find the texture by its referred name. I have attached an example of the error. For example, in the code I posted, the expected key name is "test_with_underscore.png", but it is being stored as "with_underscore.png"

SpineErrorTest_NamesWithUnderscores.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions