You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered:
Always the way, write an issue then find a solution. I just found this issue bevyengine/bevy#3254 and tried enabling MSAA and it fixed the problem. Not very obvious though.
In my case MSAA was explicitly off using .insert_resource(MSAA::off) removing this code fixed the issue. Not sure if this is metal specific, happy to provide a PR for the README wrt to this.
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.
The text was updated successfully, but these errors were encountered: