bevyengine / bevyengine/bevy

Updating texture size is not properly reflected on materials.

Open
#25,433 0 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug D-Modest S-Ready-For-Implementation X-Uncontroversial
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version and features

0.19.1

## What you did

Updating a texture without triggering change detection on a material. This used to not work but in 0.19 it works partially if the texture size stayed the same.

## What went wrong

This works as expected if the texture size did not change, but behaves as if the texture size stayed the same but contents changed if the texture size gets updated.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the texture update described for Bevy 0.19.1, comparing updates that preserve the texture size with updates that change it. Trace how texture size changes reach materials and add coverage showing that materials reflect the new dimensions; done means both cases behave consistently.

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
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.