bevyengine / bevyengine/bevy

Updating `Image::data` does not change how the image is displayed in `StandardMaterial`.

Open
#17,220 2 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

0.15

## What you did

Update an existing `Image`'s `data` after it has been created and rendered at least once.

## What went wrong

`StandardMaterial` did not update its render, despite the content of the `Image` asset has changed.

## Additional information

Reproduction:
https://github.com/mintlu8/bevy_bug

Contributor guide

Open the contributing guide

Research direction

Start with the linked reproduction and trace how an existing Image's data update reaches StandardMaterial rendering. Inspect the asset-update and image-rendering paths involved in the reproduction. Done means changing Image data after its first render reliably changes the displayed material image, with a regression test if the relevant test location can be identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.