Bevy version
main
What's wrong
measure_text_system queries for the camera entity of a text node and then using the camera entity looks up the camera target's scale factor. Then to detect if the scale factor has changed it looks up the camera's scale factor from the previous frame it keeps stored in a Local and compares them. But if the text node's target camera was changed since the previous frame it will be comparing the wrong scale factors and the text node's measure func won't be updated if its scale factor changed.
Bevy version
main
What's wrong
measure_text_systemqueries for the camera entity of a text node and then using the camera entity looks up the camera target's scale factor. Then to detect if the scale factor has changed it looks up the camera's scale factor from the previous frame it keeps stored in aLocaland compares them. But if thetextnode's target camera was changed since the previous frame it will be comparing the wrong scale factors and thetextnode's measure func won't be updated if its scale factor changed.