TheCherno / Hazel

Hazel Engine
Apache License 2.0
11.71k stars 1.51k forks source link

Why is it that when I run Setup.bat, I downloaded the latest version of Vulkan SDK, but it still says that the version is incorrect? #654

Open xyz-ai opened 11 months ago

xyz-ai commented 11 months ago

I followed the instructions on the steps to run the relevant files. But in the end, this is it.

Python version 3.9.13 detected. Correct Premake located at F:\Hazel\Hazel-master\vendor\premake\bin Located Vulkan SDK at F:\SD You don't have the correct Vulkan SDK version! (Engine requires 1.3.) Would you like to install VulkanSDK 1.3.216.0? [Y/N]:

The version I downloaded is obviously VulkanSDK version 1.3.216.0, so why am I being asked to download it again?

nepp95 commented 7 months ago

By default the vulkan installer puts the files inside a folder that is named after the version it is. I checked the install script and that is also used for checking for the correct version. Did you happen to change the installation path?

Either way, I'll see if I can find a related PR or create one myself this week, since editing an installation path should not be a problem. As a temporary workaround you can remove the version check in SetupVulkan.py or have the Setup not even run the script at all if you are sure you've got it installed.