bevy/crates/bevy_render
Charles 018509c3a1 log pipeline cache errors earlier (#6115)
# Objective

- Currently, errors aren't logged as soon as they are found, they are logged only on the next frame. This means your shader could have an unreported error that could have been reported on the first frame.

## Solution

- Log the error as soon as they are found, don't wait until next frame

## Notes

I discovered this issue because I was simply unwrapping the `Result` from `PipelinCache::get_render_pipeline()` which caused it to fail without any explanations. Admittedly, this was a bit of a user error, I shouldn't have unwrapped that, but it seems a bit strange to wait until the next time the pipeline is processed to log the error instead of just logging it as soon as possible since we already have all the info necessary.
2022-09-28 04:04:55 +00:00
..
macros Bump Version after Release (#5576) 2022-08-05 02:03:05 +00:00
src log pipeline cache errors earlier (#6115) 2022-09-28 04:04:55 +00:00
Cargo.toml remove copyless (#6100) 2022-09-27 18:11:40 +00:00