After upgrading my Vulkan SDK from 18.104.22.168 to 22.214.171.124 this error occurs.
Slight changes were made to the source code which are just the way I add data to the vector class. Data was not corrupted by the time this exception was thrown.
One change that I did was instead of storing all the 4 shader types (Vertex, Tessellation, Geometry and Fragment) I only include the shaders that are defined (Vertex and Fragment in this instance). Is there any connection between these two? If not, what could be the reason for this error.
And validation layers are enabled correctly but it does not prompt anything.