-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I have setup a simple example of using infinite grid and the scene renders briefly then crashes. Here is the initialisation of the camera and grid during the menu stage, I am using PanOrbitCamera if that is of any consequence. The example ran from this repo works no problem, this led me to believe that it could be an ordering issue? but I am just guessing at this stage.
commands
.spawn(InfiniteGridBundle {
grid: InfiniteGrid {
..Default::default()
},
..Default::default()
})
.insert(GridShadowCamera);
commands
.spawn((
Camera3dBundle {
transform: Transform::from_xyz(0.0, 4.37, 14.77),
..Default::default()
},
PanOrbitCamera::default(),
))
.insert(GameCamera);
Caused by:
In a RenderPass
note: encoder = `<CommandBuffer-(0, 8, Metal)>`
In a set_pipeline command
note: render pipeline = `grid-render-pipeline-shadowless`
Render pipeline targets are incompatible with render pass
Incompatible sample count: the renderpass expected 1 but was given 4
Metadata
Metadata
Assignees
Labels
No labels