Changes to textures does not propagate to materials #15595
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
D-Modest
A "normal" level of difficulty; suitable for simple features or challenging fixes
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Bevy version
0.14.2
What you did
I have a system that updates a texture from the cpu:
What went wrong
I expect the new texture data to be used when rendering. By any material that uses the same texture handle.
Instead the old texture is used when rendering.
Additional information
I have a workaround where i manually cause the materials that use the texture to be marked as changed in the asset system.
My guess is that there is noting that connects the material asset to the texture assets that it depends on. If this is by design then feel free to close this !
The text was updated successfully, but these errors were encountered: