We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53ad416 commit 9a01fbeCopy full SHA for 9a01fbe
crates/bevy_core_pipeline/src/main_pass_2d.rs
@@ -39,6 +39,9 @@ impl Node for MainPass2dNode {
39
world: &World,
40
) -> Result<(), NodeRunError> {
41
let view_entity = graph.get_input_entity(Self::IN_VIEW)?;
42
+ // If there's no view entity, pretend everything is fine
43
+ // This fixes https://github.com/bevyengine/bevy/issues/4526
44
+ // A better fix probably exists, but I don't know what it is
45
let (transparent_phase, target) = match self.query.get_manual(world, view_entity) {
46
Ok(it) => it,
47
_ => return Ok(()),
0 commit comments