Working through tutorial, getting an error

I have been running through Brendan Galea’s Vulkan Game Engine Tutorial on YouTube. They have been great so far, but am stuck with the following error after Tutorial 05 Part 1.

I have repeated the run through this specific tutorial video again, but have the same result. I am not sure how to troubleshoot this other than this error is thrown when making a call to vkCreateGraphicsPipelines(...).

Any help is appreciated.

Becoming familiar with validation messages and what they tell you is an important part of developing with Vulkan. While lack of such messages is in no way a guarantee for a working or correct program, they do help catching mistakes.
With that being said, this message tells you that you are not passing any VkPipelineDepthStencilStateCreateInfo sub object as part of the VkGraphicsPipelineCreateInfo, even though the pipeline is used later on in a renderpass that requires that. First thing to check would be the call to vkCreateGraphicsPipelines and the arguments going into it. Not sure what else to tell you with the info provided.

You can also compare your code with the tutorial author’s, I believe this is the relevant function.

Thank you for your response. The tutorial did not cover that Vulkan config struct (it may in a future episode that I have not gotten to yet). But I did set up the struct defined in the error message and set it. The error has gone away. Not sure if I have configured the info for VkPipelineDepthStencilCreateInfo correctly for the use case yet, but that is for futur me to figure out.

Again, thank you for your reply.