Skip to content

Updates to tilemap chunk image are delayed #22259

@andrewhickman

Description

@andrewhickman

Bevy version and features

Reproducible on the main branch (64c7bec)

This seems to be a regression from version 0.17.3 (706fdd9)

Relevant system information

SystemInfo { os: "Windows 11 Home", kernel: "26100", cpu: "12th Gen Intel(R) Core(TM) i5-1235U", core_count: "10", memory: "15.8 GiB" }
AdapterInfo { name: "Intel(R) Iris(R) Xe Graphics", vendor: 32902, device: 18088, device_type: IntegratedGpu, driver: "Intel Corporation", driver_info: "101.6737", backend: Vulkan }

What you did

I modified the tilemap chunk example to set tiles on click

https://github.com/andrewhickman/bevy/blob/2a14399c9fa3e84104f1eef1e3aecd4677572d84/examples/2d/tilemap_chunk.rs

What went wrong

On click, the tile is modified, but the rendered tilemap is not updated until the next click (or the next AssetChanged<TilemapChunkMaterial> event

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions