[BUG] "validation layers requested, but not available!" : Vulkan

Hi,
I got a bug that says “validation layers requested, but not available!” when I try to use Debug x64 instead of Release x64.

Is this supposed to happen?

Why can’t we use Debug mode anymore?

Is this supposed to happen?

yes

when I try to use Debug x64 instead of Release x64.

I do not know what you config is but usually this error come because
VK_LAYER_LUNARG_standard_validation your application in debug mode trying to use it when it deprecated/removed

new layer is VK_LAYER_KHRONOS_validation
and you have to run setup-env script before using this layer, for Linux is:
source $VULKAN_SDK"/setup-env.sh"

Capture

No, the validationLayers is VK_LAYER_KHRONOS_validation.

It can still work but only in Release mode.

By the way, this is the tutorial.

then you dont have vulkan_sdk initialized in path
source $VULKAN_SDK"/setup-env.sh" before launch that app in debug

layer is not included to default environment

I assume I must have missed a step.

How should I correct it?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.