X4: Exit Codes Table

From Egosoft Wiki


ExitCode Code Summary / Causes: Troubleshooting
2 EXITCODE_STEAM_INITINTERFACE_FAILED The issue occurs, if Steam fails to be initialized for the game. Exit Code 2
6 EXITCODE_STEAM_NOT_RUNNING The issue occurs because steam was not running Exit Code 6
8 EXITCODE_STEAM_MANUAL_START_REQUIRED_FILE The issue occurs because the game failed to initialize the Steam client. Exit Code 8
9 EXITCODE_STEAM_MANUAL_START_REQUIRED_ENVIRONMENT The issue occurs because the game failed to initialize the Steam client. Exit Code 9
113 EXITCODE_GFX_NO_DUMMY_TEXTURE The issue occurs when the game fails to detect necessary game assets. Exit Code 113
119 EXITCODE_GFX_CREATERENDERTARGET_FAILED The issue occurred because the GFX engine failed to create a so called render target. Exit Code 119
122 EXITCODE_GFX_TOO_MANY_DRAWCALLS "Too many of something", details stated in the errorbox which appears on crashing Exit Code 122
201 EXITCODE_VK_INCOMPATIBLE_ICD Incompatibility between Vulkan and Graphics card driver
  • Below-spec graphics card
  • Known to occur when running through a Remote Desktop connection
  • Possibly missing Vulkan runtime (Linux)
Exit Code 201
202 EXITCODE_VK_EXTENSION_NOT_PRESENT The problem occurred, because the game failed to load a required so called Vulkan extension.
  • This can happen if your graphics drivers are not correctly installed.
Exit Code 202
204 EXITCODE_VK_LIMITS_TOO_SMALL The game determined that the physical device doesn't meet the minimum specs Exit Code 204
205 EXITCODE_VK_CREATEINSTANCE_FAILED
  • Known to occur on notebooks with AMD CPU (has a Radeon Integrated GPU) + NVidia GPU, having old pre-installed AMD-GPU drivers
  • Known to occur with old OBS version installed (even when not running!)
  • Usually vulkaninfo will report errors
Exit Code 205
210 EXITCODE_VK_CREATE_SURFACE_FAILED Vulkan Create Surface Failed. Exit Code 210
211 EXITCODE_VK_CREATE_SWAPCHAIN_FAILED Graphic device initialization issue. Exit Code 211
212 EXITCODE_VK_NO_PHYSICAL_DEVICE
  • Known to occur on notebooks with AMD CPU (has a Radeon Integrated GPU) + NVidia GPU, having old pre-installed AMD-GPU drivers
  • Usually vulkaninfo will report errors
Exit Code 212
215 EXITCODE_VK_NO_COMMON_GRAPHICS_AND_PRESENT_QUEUE The problem occurred, because the game failed to initialize a Vulkan surface, used for rendering. Exit Code 215
220 EXITCODE_VK_INCOMPATIBLE_DRIVER The game determined that you are running with outdated graphic drivers which are not compatible with our Vulkan graphics engine.
  • Make sure to update drivers to the latest version.
Exit Code 220
221 EXITCODE_VK_INCOMPATIBLE_RUNTIME The game determined that you are running with a Vulkan runtime older than 1.0.38 (which is not compatible with our Vulkan graphics engine).
  • Make sure to update drivers to the latest or minimum required version.
Exit Code 221
222-231 EXITCODE_VK_MAIN_DEVICE_*, This occurs, when the game lost access to the physical graphics device (i.e. the GPU). Exit Codes 222-231 and 1028
1028 EXITCODE_RUNTIME_VULKAN_ON_LOST_DEVICE
232 EXITCODE_VK_MAIN_UNHANDLED Unhandled Vulkan error. Exit Code 232
233 EXITCODE_VK_ENUMERATE_EXTENSION_PROPS_COUNT The problem occurred, because the game failed to retrieve the number of Vulkan extension properties. Exit Code 233
235 EXITCODE_VK_NO_TRANSFER_QUEUE GFX engine initialization error Exit Code 235
1003 EXITCODE_RUNTIME_UI_INIT The issue occurred because the UI system failed to be initialized. Exit Code 1003
1009 EXITCODE_RUNTIME_LUAENGINE_INIT The issue occurred because the Lua engine failed to be initialized. Exit Code 1009
1027 EXITCODE_RUNTIME_VULKAN_UNDEFINED Vulkan ErrorCode -13 (Unknown Error) Exit Code 1027
1046 EXITCODE_RUNTIME_SHADER_LOAD_1
  • Probably a corrupted installation of the game
  • Possibly mods modifying/removing mandatory shaders
Exit Code 1046
1061 EXITCODE_RUNTIME_LOST_DEVICE The issue occurred because the game ran into a lost device condition and failed to restore the device. Exit Code 1061
1062 EXITCODE_RUNTIME_CREATE_SWAPCHAIN The issue occurred because the game failed to create a so called swap chain. Exit Code 1062
1065 EXITCODE_RUNTIME_INDEX_IMPORT_1 The issue occurred because the start menu failed to be initialized.
  • This can happen, if mods are involved and break mandatory index files (f.e. the index/components.xml file) the game requires to start up correctly.
Exit Code 1065
1069 EXITCODE_RUNTIME_INIT_STARTMENU_MODULE The issue occurred because the start menu failed to be initialized.
  • This can happen, if mods are involved if they break mandatory game files (most likely certain library files).
Exit Code 1069
1079 EXITCODE_RUNTIME_IDMAP_ASSIGN_NEW The issue occurred because the game is running out of available object IDs. Exit Code 1079
1096 EXITCODE_RUNTIME_VULKAN_OUT_OF_HOST_MEMORY The issue occurred because the GFX engine ran into a Vulkan out of host memory error. Exit Code 1096
1106 EXITCODE_RUNTIME_STARTMENU_INIT The error occurs because the game failed to start the background scene for the start menu, which is mandatory for the start menu to work. Exit Code 1106
1109 EXITCODE_RUNTIME_VULKAN_OUT_OF_DEVICE_MEMORY The error occurs because the graphics card ran out of memory
  • This can happen on notebooks with multiple GPU's, when auto-selection picked the wrong GPU.
Exit Code 1109
1110 EXITCODE_RUNTIME_MEDIUM_LIBRARY_LOAD Failed to initialize the "medium" library Exit Code 1110
1113 EXITCODE_RUNTIME_OUT_OF_MEMORY It's assumed that the crash occurs because the game ran out of system memory.

Note that in normal cases this should not happen with 64-bit applications and usually indicates an issue with the system setup.

Exit Code 1113
1114 EXITCODE_RUNTIME_OUT_OF_HANDLES Ran out of space to create new objects of a specific asset-type Exit Code 1114
1115 EXITCODE_RUNTIME_HANDLE_OUT_OF_RANGE Used an invalid handle to lookup an asset Exit Code 1115
1119 EXITCODE_RUNTIME_SHADER_COMPILE Failed to compile a shader Exit Code 1119
- Crash caused by external tools / dll
  • Often caused by 3rd party overlays like Overwolf, WeMod, TrainerLib, Ansel, FPS Monitor, OBS
  • Occasionally caused by broken joystick drivers
Crash caused by external tools / dll
Crash caused by ezfrd64.dll
- illegal instruction CPU not supporting SSE 4.1 Crash caused by 'illegal instruction'
- igvk64.dll Intel Graphics Driver Issue Crash caused by 'igvk64.dll'
- Component::BuildCache X4: Exitcode Buildcache