Skip to content

Razor Image element doesn't redraw on Texture parameter change #11356

Description

@nixxquality

Version / Commit

26.06.29-d9949da

Describe the bug

Sidar in the Discord was having issues, wondering why changing the Texture parameter on an Image element wasn't updating his UI. With help from Droob, he found a workaround in @key

I narrowed down the issue a bit more from the information he provided.

To Reproduce

Sample project: imagetexturechange.zip

Press the 1, 2, and 3 keys. Each one is supposed to change the texture being drawn in the middle of the screen.

If you enable Use Workaround, it will use the @key workaround and it works properly.
If you enable Draw Nudging Text, you'll note that the Texture does get updated if the layout changes. This is something I accidentaly discovered when building the sample project.

Expected behavior

The @key workaround should not be necessary, if the Texture parameter changes it should be redrawn.

Media/Files

2026-06-30_11-28-04.mp4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions