Skip to content

Asset path wrong parsed (probably) #5707

@r4v3n6101

Description

@r4v3n6101

Discussed in #5704

Originally posted by r4v3n6101 August 15, 2022
Hello. Recently I've found a strange logic of loading assets here
If we use something with 2 "#" in asset_path then we never get full label because only 2 parts of label taken (asset.zip#123#abc => asset.zip as path and 123 as label). Probably there should be used the splitn method, am I right? Should we ever use 2 "#" in paths?

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 behaviorD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions