From 4f69cdd6af8bace729181e1cf2b38b472063a54d Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Wed, 20 Sep 2023 14:14:28 +0200 Subject: [PATCH] [godot] Fixes #2371, crash on window resize This is due to a Godot 4.1.1 bug in combination with the latest MoltenVK release. See https://github.com/godotengine/godot/pull/81219#issuecomment-1706609032. We are hardcoding the SDK version for now, until the fix has been merged and released in Godot 4.1.x. --- spine-godot/.vscode/settings.json | 7 ++++--- spine-godot/build/install-macos-vulkan-sdk.sh | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/spine-godot/.vscode/settings.json b/spine-godot/.vscode/settings.json index 621800919..75a3d9303 100644 --- a/spine-godot/.vscode/settings.json +++ b/spine-godot/.vscode/settings.json @@ -1,4 +1,5 @@ { - "cmake.configureOnOpen": false, - "C_Cpp.intelliSenseEngine": "disabled", -} \ No newline at end of file + "cmake.configureOnOpen": false, + "C_Cpp.intelliSenseEngine": "disabled", + "dotnet.defaultSolution": "disable" +} diff --git a/spine-godot/build/install-macos-vulkan-sdk.sh b/spine-godot/build/install-macos-vulkan-sdk.sh index 756d38535..8e41356f8 100755 --- a/spine-godot/build/install-macos-vulkan-sdk.sh +++ b/spine-godot/build/install-macos-vulkan-sdk.sh @@ -2,7 +2,7 @@ set -euo pipefail IFS=$'\n\t' # Download and install the Vulkan SDK. -curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg +curl -L "https://sdk.lunarg.com/sdk/download/1.2.250/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk /Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \ --accept-licenses --default-answer --confirm-command install