Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Materials: ignore entities with a BackgroundColor component #10434

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

mockersf
Copy link
Member

@mockersf mockersf commented Nov 7, 2023

Objective

Solution

  • Ignore entities with BackgroundColor when extracting ui material entities, and document that limit

@mockersf mockersf added the A-UI Graphical user interfaces, styles, layouts, and widgets label Nov 7, 2023
@alice-i-cecile alice-i-cecile added the C-Bug An unexpected or incorrect behavior label Nov 7, 2023
@alice-i-cecile alice-i-cecile added this to the 0.12.1 milestone Nov 7, 2023
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Nov 7, 2023
Merged via the queue into bevyengine:main with commit 72a6106 Nov 7, 2023
24 checks passed
cart pushed a commit that referenced this pull request Nov 30, 2023
)

# Objective

- Entities with both a `BackgroundColor` and a
`Handle<CustomUiMaterial>` are extracted by both pipelines and results
in entities being overwritten in the render world
- Fixes #10431 

## Solution

- Ignore entities with `BackgroundColor` when extracting ui material
entities, and document that limit
rdrpenguin04 pushed a commit to rdrpenguin04/bevy that referenced this pull request Jan 9, 2024
…yengine#10434)

# Objective

- Entities with both a `BackgroundColor` and a
`Handle<CustomUiMaterial>` are extracted by both pipelines and results
in entities being overwritten in the render world
- Fixes bevyengine#10431 

## Solution

- Ignore entities with `BackgroundColor` when extracting ui material
entities, and document that limit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rendering bugs when abusing custom UI material
3 participants