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

animated_ui example is broken #17718

Closed
rparrett opened this issue Feb 7, 2025 · 3 comments · Fixed by #17729
Closed

animated_ui example is broken #17718

rparrett opened this issue Feb 7, 2025 · 3 comments · Fixed by #17729
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled

Comments

@rparrett
Copy link
Contributor

rparrett commented Feb 7, 2025

Bevy version

main, bisected to #17567

Relevant system information

SystemInfo { os: "macOS 15.3 Sequoia", kernel: "24.3.0", cpu: "Apple M4 Max", core_count: "16", memory: "64.0 GiB" }
AdapterInfo { name: "Apple M4 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

Also failing on linux/mac in the example runner.

What you did

cargo run --example animated_ui

What went wrong

Nothing shows up, just the clear color. There should be some animated text.

@rparrett rparrett added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Feb 7, 2025
@ickshonpe
Copy link
Contributor

There are missing glyphs in the button example when you first hover over the button, only the r is visible from Pressed.
Assume it's the same bug.

@rparrett
Copy link
Contributor Author

rparrett commented Feb 7, 2025

The example runner also showed virtual_time missing some glyphs, but I can't reproduce either thing locally to confirm that it's definitely related.

@ickshonpe
Copy link
Contributor

Isolated the button example problem to cold specialization too.

github-merge-queue bot pushed a commit that referenced this issue Feb 7, 2025
# Objective

Fixes #17718

## Solution

Schedule `text_system` before `AssetEvents`.

I guess what was happening here is that glyphs weren't shown because
`text_system` was running before `AssetEevents` and so `prepare_uinodes`
never recieves the the asset modified event about the glyph texture
atlas image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants