mirror of
https://github.com/bevyengine/bevy
synced 2024-11-30 08:30:24 +00:00
018509c3a1
# 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. |
||
---|---|---|
.. | ||
camera | ||
color | ||
mesh | ||
primitives | ||
render_graph | ||
render_phase | ||
render_resource | ||
renderer | ||
texture | ||
view | ||
extract_component.rs | ||
extract_param.rs | ||
extract_resource.rs | ||
lib.rs | ||
rangefinder.rs | ||
render_asset.rs | ||
settings.rs | ||
spatial_bundle.rs |