When selecting to play 26.2 Snapshot 2 from the Minecraft Launcher, the game prepares to open, hangs for several seconds, and displays an error screen (see attached screenshot). No game window for Minecraft is opened at any point. This seems to be an issue with running the game with Vulkan.
The described issue occurs when preferredGraphicsBackend in options.txt is set to "default". If the value is changed manually (i.e. by editing options.txt) to "opengl", the game opens and runs without issue.
Environment
Windows 11, AMD Ryzen 5000 Series 7, NVIDIA GeForce RTX
Thank you for helping us improve Minecraft! We saved your files: