-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset path wrong parsed (probably) #5707
Comments
Using |
rparrett
added
C-Feature
A new feature, making something new possible
C-Code-Quality
A section of code that is hard to understand or change
D-Trivial
Nice and easy! A great choice to get started with Bevy
C-Bug
An unexpected or incorrect behavior
A-Assets
Load files from disk to use for things like images, models, and sounds
and removed
C-Feature
A new feature, making something new possible
C-Code-Quality
A section of code that is hard to understand or change
labels
Aug 15, 2022
We should also consider that only |
inodentry
pushed a commit
to BroovyJammy/bevy
that referenced
this issue
Aug 19, 2022
# Objective - Fixes bevyengine#5707 ## Solution - Used `splitn` instead of `split` to collect the rest of the string into the label after the first '#'. ---
maccesch
pushed a commit
to Synphonyte/bevy
that referenced
this issue
Sep 28, 2022
# Objective - Fixes bevyengine#5707 ## Solution - Used `splitn` instead of `split` to collect the rest of the string into the label after the first '#'. ---
james7132
pushed a commit
to james7132/bevy
that referenced
this issue
Oct 28, 2022
# Objective - Fixes bevyengine#5707 ## Solution - Used `splitn` instead of `split` to collect the rest of the string into the label after the first '#'. ---
ItsDoot
pushed a commit
to ItsDoot/bevy
that referenced
this issue
Feb 1, 2023
# Objective - Fixes bevyengine#5707 ## Solution - Used `splitn` instead of `split` to collect the rest of the string into the label after the first '#'. ---
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 and123
as label). Probably there should be used thesplitn
method, am I right? Should we ever use 2 "#" in paths?The text was updated successfully, but these errors were encountered: