Closed UkoeHB closed 1 year ago
v0.12.0
MacOS
Ran this bevy_kot example.
The example text often, but not always, starts out with the wrong size and alignment. After I access a Text component mutably (e.g. text.get_mut(id).unwrap().into_inner()), the size and alignment is fixed to the expected values.
Text
text.get_mut(id).unwrap().into_inner()
Video (see at the very start of the video one of the text elements changes size): https://github.com/bevyengine/bevy/assets/37489173/cb27d3dc-aae1-436e-96d9-f61af5b1e3e3
Note that the text entity is added via bevy_lunex, but lunex doesn't do anything special with the Text component. See here.
bevy_lunex
Looks like #10407 is the same issue.
Bevy version
v0.12.0
[Optional] Relevant system information
MacOS
What you did
Ran this bevy_kot example.
What went wrong
The example text often, but not always, starts out with the wrong size and alignment. After I access a
Text
component mutably (e.g.text.get_mut(id).unwrap().into_inner()
), the size and alignment is fixed to the expected values.Additional information
Video (see at the very start of the video one of the text elements changes size): https://github.com/bevyengine/bevy/assets/37489173/cb27d3dc-aae1-436e-96d9-f61af5b1e3e3
Note that the text entity is added via
bevy_lunex
, but lunex doesn't do anything special with theText
component. See here.