bevyengine / bevyengine/bevy

Example `custom_shader_instancing` cannot be run

Open
#15,692 0 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug C-Examples S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

Main branch(0.15-dev)

## Relevant system information

SystemInfo { os: "MacOS 15.0 ", kernel: "24.0.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

## What you did

Run the `custom_shader_instancing` example.

## What went wrong

Cannot run.

![Image](https://github.com/user-attachments/assets/318ed1c4-bcb9-4405-b207-f2e46170f99e)

## Additional information

Cannot get `mesh_instance`.

```rust
let Some(mesh_instance) = render_mesh_instances.render_mesh_queue_data(entity) else {
continue;
};
println!("{}", 123);
let Some(mesh) = meshes.get(mesh_instance.mesh_asset_id) else {
continue;
};
```

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.