bevyengine / bevyengine/bevy

Borders example is broken on some machines

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

Description

## Bevy version

main: commit 956d9ccbb1e6b240f3e434acaab9ad544df41102

## Relevant system information

```
AdapterInfo { name: "Intel(R) UHD Graphics 620 (KBL GT2)", vendor: 32902, device: 22807, device_type: IntegratedGpu, driver: "Intel open-source Mesa driver", driver_info: "Mesa 24.1.6-arch1.1", backend: Vulkan }
```

## What you did

```
cargo run --example borders
```

## What went wrong

It's supposed to look like this:
![image](https://github.com/user-attachments/assets/973446d4-976f-428f-9535-63dff52772a8)

But the rounded borders flicker out of existence immediately after loading:
![image](https://github.com/user-attachments/assets/df40cf2b-8f6f-4176-83d2-aad7806680bd)

## Additional information

I have a strong suspicion that this has to do with https://github.com/bevyengine/bevy/pull/15163, which was merged 5 days ago, so I'm pinging @ickshonpe. The fact that it's very briefly visible also makes me think that this might be a `TemporaryRenderEntity` while it is supposed to persist. I'm not sure however as I believe I've tested this before merging #15320, and it was also broken.

Actually I'm 90% sure that it's a `TemporaryRenderEntity` while it isn't supposed to be.

Contributor guide

Open the contributing guide

Research direction

Start by running `cargo run --example borders` at commit 956d9ccbb1e6b240f3e434acaab9ad544df41102 and compare the result with the expected image. Trace the rounded-border entities and the `TemporaryRenderEntity` behavior mentioned in the report, then verify that the borders remain visible after loading on the reported Vulkan/Mesa system.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.