Skip to content

Mesh not showing(or updating) in alter_mesh example #18967

@dearfl

Description

@dearfl

Bevy version

release-0.16.0

[Optional] Relevant system information

SystemInfo { os: "Linux (NixOS 25.05)", kernel: "6.12.24", cpu: "Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz", core_count: "6", memory: "15.3 GiB" }
AdapterInfo { name: "Intel(R) UHD Graphics (CML GT2)", vendor: 32902, device: 39882, device_type: IntegratedGpu, driver: "Intel open-source Mesa driver", driver_info: "Mesa 25.0.4", backend: Vulkan }

What you did

cargo r -r --features wayland --example alter_mesh

What went wrong

This example should have 2 mesh, the right one should alternate between a sphere and a cube when press spacebar, however the sphere won't show.

Additional information

I have created a repo to test this issue, added bevy-inspector-egui to check entities. It seems that the mesh shows up when I checks the mesh3d component(keep this unfolded also works) in inspector ui, so probably it didn't get updated or something(or lazy loading)?

A screenshot shows the sphere shows up after I click the mesh3d component.

20250428_19h19m12s_grim.png

My repo: test-alter-mesh

Metadata

Metadata

Assignees

Labels

A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions