bevyengine / bevyengine/bevy

Mesh not showing(or updating) in alter_mesh example

Open
#18,967 8 comments 0 reactions 1 assignee Claimed by @mate-h View on GitHub
A-Rendering C-Bug I-Regression S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## 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](https://s2.loli.net/2025/04/28/2QTxuHbEJD1ihGw.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.