bevyengine / bevyengine/bevy

Replacing MeshMaterial3d to that of a custom material (MaterialPlugin) has no effect

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

Description

## Bevy version

On main 35f1af522a0c13742f13abf5af04a3963463ad4d
Also tags v0.16.0, v0.16.1, varying results, see below

## \[Optional\] Relevant system information

```
AdapterInfo { name: "AMD Radeon RX 580 Series (RADV POLARIS10)", vendor: 4098, device: 26591, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.2.8-1ubuntu1~24.04.1", backend: Vulkan }
```

## What you did

Code example https://github.com/tville/bevy/pull/1

In this minimalistic example, we first insert two cubes with a solid StandardMaterial, and later try to replace the materials on these cubes with a custom material (initiated with MaterialPlugin) with alpha blending, image, and color tinting.

## What went wrong

Over tags v0.16.0 and v0.16.1, for me, only one of the two cubes get to the correct state, depending on which MaterialPlugin is added first. This corresponds to a problem I'm having in my personal project.

When run against current dev/main version, none of the cubes get updated with the custom material.

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.