Why is it when creating an instance with Vulkan on Mac it calls an assert error and if it is put in a try catch statement it calls vkWaitForfFences
I am trying to create an instance for a basic Vulkan renderer. When creating an instance on Mac I am using the same code that I used in visual studio on windows. I am using Xcode on Mac with C++. Immediately after creating an instance when creating a debug messenger an assert is called in Vulkan.h called VULKAN_HPP_ASSERT. When putting create instance in a try catch statement with a throw runtime error then I get an error that says it is from improper use of vkWaitForFences. This code works on windows with no errors. I have no idea as to what is causing the error.