-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Text2d
and nine-slicing is broken
#17098
Comments
FYI @superdump |
It's extracting every glyph sprite for the same text entity with the same key so they all get overwritten except the last glyph. #17041 would fix this. |
False alarm, spent ages earlier trying to understand the latest UI camera changes and forgot that we use RenderLayers not TargetCamera for sprites 😓 |
…#17078)" (#17123) # Objective Fixes #17098 It seems that it's not totally obvious how to fix this, but that reverting might be part of the solution anyway. Let's get the repo back into a working state. ## Solution Revert the [recent optimization](#17078) that broke "many-to-one main->render world entities" for 2d. ## Testing `cargo run --example text2d` `cargo run --example sprite_slice`
Bevy version
main, bisected to #17078
Relevant system information
SystemInfo { os: "macOS 14.5 Sonoma", kernel: "23.5.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
What you did
cargo run --example text2d
What went wrong
It seems that only one glyph per entity gets drawn.
The text was updated successfully, but these errors were encountered: