defold / defold/defold

Engine silently crashes on missing DLLs when run from IDE

Open
#11,688 6 comments 0 reactions 0 assignees View on GitHub
bug editor windows
Dominant language
C++
Stars
6.3k
Forks
455
Avg merge
2d 2h
Merged PRs (30d)
129

Description

**Describe the bug (REQUIRED)**
When the engine executable fails to start due to missing DLLs, running the project from the Defold editor results in a silent crash with no visible error message or log entry. However, when the project is bundled and executed separately, Windows shows a system dialog indicating the missing DLL.

_Note: After upgrading GPU from Intel to AMD, the system lacked Vulkan runtime DLLs. Reinstalling the correct driver added the missing files, and Defold projects with Vulkan backend began running successfully again._

**To Reproduce (REQUIRED)**
Steps to reproduce the behavior:
1. Run Defold project configured to use the Vulkan build.
2. Ensure that Vulkan runtime or GPU drivers do not include the required .dll files.
3. Launch the project from the Defold editor.
4. Observe that the application silently fails without any error message or diagnostic output.
5. Bundle and run the same project as an .exe file.
6. Observe that Windows displays a system error message about missing DLLs.

**Expected behavior (REQUIRED)**
The engine or editor should report a clear error message in the console or log when it cannot load a required DLL, instead of silently crashing. If it's possible to achieve on Windows, obviously. Because "missing DLL" window is a system message:

Image

**Defold version (REQUIRED):**
- Version: 1.11.2

**Platforms (REQUIRED):**
- Platforms: Windows

**Logs (OPTIONAL):**
No logs are generated from the IDE when the crash occurs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.