bevy/errors
Rob Parrett d1528dfbf8 Warn instead of erroring when max_font_atlases is exceeded (#6673)
# Objective

Fixes #6642

In a way that doesn't create any breaking changes, as a possible way to fix the above in a patch release.

## Solution

Don't actually remove font atlases when `max_font_atlases` is exceeded. Add a warning instead.

Keep `TextError::ExceedMaxTextAtlases` and `TextSettings` as-is so we don't break anything.

This is a bit of a cop-out, but the problems revealed by #6642 seem very challenging to fix properly.

Maybe follow up later with something more like https://github.com/rparrett/bevy/commits/remove-max-font-atlases later, if this is the direction we want to go.

## Note

See previous attempt at a "simple fix" that only solved some of the issues: #6666
2022-11-25 23:49:25 +00:00
..
src Add warning when a hierarchy component is missing (#5590) 2022-09-19 16:12:11 +00:00
B0001.md ParamSet for conflicting SystemParam:s (#2765) 2022-03-29 23:39:38 +00:00
B0002.md Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
B0003.md Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
B0004.md Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
B0005.md Warn instead of erroring when max_font_atlases is exceeded (#6673) 2022-11-25 23:49:25 +00:00
Cargo.toml Add readme to errors crate and clean up cargo files (#3125) 2021-11-13 23:06:48 +00:00
README.md Add readme to errors crate and clean up cargo files (#3125) 2021-11-13 23:06:48 +00:00

Bevy Error Codes

This crate lists and tests explanations and examples of Bevy's error codes.

For the latest Bevy release, you can find a rendered version of the error code descriptions at bevyengine.org/learn/errors.