This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Браузер SDK 2
Лицензирование и типы лицензий
Дополнения (Add-Ons)
Демонстрационные проекты
Samples
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
Унифицированный язык шейдеров UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
Справочник API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Engine Issues

This section provides information on typical errors displayed in the Engine log and explains how to fix them.

Agility SDK#

When running the upgraded project on DX12, you may come accross the following error in the engine log:

ERROR: Engine::init(): using D3D12 without Agility SDK is not supported. Please export `D3D12SDKVersion` and `D3D12SDKPath` in your executable. Falling back to Vulkan

This error occurs because starting from version 2.20, we use the Agility SDK to unlock the full potential of DirectX12. Therefore, patching is required to ensure the upgraded project runs smoothly on D3D12.

If the project after being patched and rebuilt still doesn't run on D3D12 and this error keeps being displayed, try the following:

On C++:

  • Open the <project_name>/source/main.cpp file and check if it contains the following line:

    Source code (C++)
    #include <UnigineInit.h>

    Add it, if it's missing.

  • Check if the project contains the <project_name>/bin/D3D12 folder with the following files:

    • D3D12Core.dll
    • D3D12Core.pdb
    • D3D12SDKLayers.dll
    • D3D12SDKLayers.pdb

On C#:

  • Open the <project_name>/<project_name>.csproj file and check if it contains the following lines:

    Source code (XML)
    <UseAppHost>true</UseAppHost>
    <AppHostSourcePath Condition="'$(OS)' == 'Windows_NT'">$(OutputPath)\dotnet_host_x64.exe</AppHostSourcePath>

    Add them, if missing.

  • In case of .vscode, open <project_name>/.vscode/launch.json, and make sure that Windows projects are started via <project_name>.exe.

  • Check that the project contains the <project_name>/bin/D3D12 folder with the following files:

    • D3D12Core.dll
    • D3D12Core.pdb
    • D3D12SDKLayers.dll
    • D3D12SDKLayers.pdb
  • Check that the dotnet_host_x64.exe file is available in the <project_name>/bin/ folder.

The information on this page is valid for UNIGINE 2.20 SDK.

Last update: 10.07.2025
Build: ()