How to use loader().direct() on 0.14-dev #13675
Replies: 1 comment
-
Not sure what I did differently now, but it is working now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a texture atlas loader that will directly load images specified in the "texture atlas file". When updating to main (0.14-dev), I am facing the following error:
(Full diff of update here (KirmesBude/bevy_titan@3115348#diff-5a9e2d856f4daa5007e54b5ec5f4f8be752d50e2dc00785833a9d41140a6ec56))
Previously I used load_direct, which worked fine:
Since that function is no longer available I am retrieving a direct loader from the load context and then loading like this:
It looks like when loading the image asset it will not use the ImageLoader, but I do not understand why. Any help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions