From 925bb13251dc9361da64748a300bad71d89695a4 Mon Sep 17 00:00:00 2001 From: n00mkrad <61149547+n00mkrad@users.noreply.github.com> Date: Tue, 23 Dec 2025 21:30:49 +0100 Subject: [PATCH] VK init exception error: Don't exit in debug --- CodeLegacy/Os/VulkanUtils.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CodeLegacy/Os/VulkanUtils.cs b/CodeLegacy/Os/VulkanUtils.cs index fe5449a..f9f9ea4 100644 --- a/CodeLegacy/Os/VulkanUtils.cs +++ b/CodeLegacy/Os/VulkanUtils.cs @@ -64,7 +64,9 @@ namespace Flowframes.Os Form1.CloseAllSplashForms(); UiUtils.ShowMessageBox($"Failed to initialize Vulkan (Access Violation).\n\nThis may be caused by driver issues or Anti-Cheat software (e.g. EA Javelin).\n" + $"Ensure that your drivers are up to date and that no games are running.\n\nError Message:\n{ave.Message}", type: UiUtils.MessageType.Error, monospace: true); - Environment.Exit(-1); + + if(!System.Diagnostics.Debugger.IsAttached) + Environment.Exit(-1); } catch(Exception ex) {