bevyengine / bevyengine/bevy

Gizmos draw below UI

Open
#18,177 6 comments 0 reactions 0 assignees View on GitHub
A-Gizmos A-Rendering C-Docs S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version

0.15.3

### Bug

i have blocked out some UI using CSS grids, see the image:

![Image](https://github.com/user-attachments/assets/36b9c7fe-d1f1-4958-90c4-85bff4a20b9e)

I removed the background color on some of the middle UI parts such that the gizmos are visible.

If I don't spawn the grid CSS hierarchy at all:

![Image](https://github.com/user-attachments/assets/015e7009-f963-4786-aef5-b35e9dcf7df8)

I expected to see all of these gizmos _on top_ of the UI in the first image.

I have tried to make gizmos belong to render layers=1 via gizmo configs and having an additional camera with order=1, render layers=1 in order to render on top, but this had no effect.

Contributor guide

Open the contributing guide

Research direction

No source files, tests, entry points, or reproduction project are mentioned; begin by reproducing the layering behavior from the described CSS-grid UI and gizmo setup. Determine why the gizmos appear below the UI and verify that the expected on-top rendering works with the relevant camera and render-layer configuration.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.