Logo Ue Project Structure

Ue Project Structure

Cộng đồng
kevinpbuckley
ue-project-structure

Navigate and configure an Unreal Engine project — the .uproject descriptor (FProjectDescriptor: FileVersion, EngineAssociation, Modules, Plugins), the standard folder layout (Config/ with Default*.ini files, Content/, Source/ with the primary game module, Plugins/, and the generated Binaries/Intermediate/DerivedDataCache/Saved/ folders), the config file hierarchy and ini syntax (sections, array operators, UPROPERTY(config), GConfig), content virtual paths (/Game/ /Engine/), and which files to source-control versus ignore. Use when creating or opening a project, editing .uproject modules or plugin references, changing project settings via Config Default*.ini instead of the editor, deciding what to commit to Git/Perforce, writing a .gitignore, understanding EngineAssociation values, registering a primary game module, or debugging "wrong engine version" / "stale generated headers" / config-not-applying problems.

Tổng quan

Nhà phát hànhkevinpbuckley
Kho mãunreal-engine-skills
Tên kỹ năngue-project-structure
Sao
89
Bản fork
9
Tệp đi kèm
3
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được kevinpbuckley công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ue Project Structure trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-project-structure
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinpbuckley/unreal-engine-skills.git /tmp/unreal-engine-skills
mkdir -p .claude/skills
cp -r /tmp/unreal-engine-skills/skills/core/ue-project-structure .claude/skills/ue-project-structure
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ue Project Structure trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ue Project Structure ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ue Project Structure với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Project structure

An Unreal project is a .uproject file plus a set of well-known folders. Knowing what each folder is for (and what is generated vs. authored) prevents committing junk, editing the wrong config file, or losing work across machines.

When to use this skill

  • Creating a new project or navigating an unfamiliar existing one.
  • Editing the .uproject: adding/removing modules, enabling/disabling plugins, or changing EngineAssociation.
  • Changing project settings by editing Config/Default*.ini directly rather than via the editor UI, or understanding why an editor change didn't persist.
  • Registering a primary game module (IMPLEMENT_PRIMARY_GAME_MODULE) or adding a second module to the project.
  • Deciding what to commit to source control and writing or updating a .gitignore.
  • Debugging "opens with wrong engine version", "stale generated headers", or "config value not applying".

Folder layout

MyGame/
├── MyGame.uproject        # JSON descriptor — COMMIT
├── Config/                # Default*.ini settings — COMMIT
│   ├── DefaultEngine.ini
│   ├── DefaultGame.ini
│   ├── DefaultInput.ini
│   └── DefaultEditor.ini
├── Content/               # .uasset / .umap (binary) — COMMIT (use Git LFS)
├── Source/                # C++ source — COMMIT
│   ├── MyGame.Target.cs
│   ├── MyGameEditor.Target.cs
│   └── MyGame/            # Primary game module
│       ├── MyGame.Build.cs
│       ├── Public/
│       └── Private/
│           └── MyGameModule.cpp
├── Plugins/               # Project plugins — COMMIT (minus generated subdirs)
├── Binaries/              # GENERATED — ignore
├── Intermediate/          # GENERATED — ignore
├── DerivedDataCache/      # GENERATED — ignore
└── Saved/                 # GENERATED — ignore (logs, runtime config overrides)

Authored = committed. Generated = ignore; rebuilt by UBT or the engine on demand.

Full per-folder detail, content paths, and .gitignore recipe: references/folder-layout-and-vcs.md.

The .uproject file (FProjectDescriptor)

The .uproject is a JSON file deserialised into FProjectDescriptor (Runtime/Projects/Public/ProjectDescriptor.h:43). Minimal annotated skeleton:

json
{
  "FileVersion": 3,
  "EngineAssociation": "5.8",
  "Modules": [
    { "Name": "MyGame", "Type": "Runtime", "LoadingPhase": "Default" }
  ],
  "Plugins": [
    { "Name": "EnhancedInput",  "Enabled": true  },
    { "Name": "ModelingToolsEditorMode", "Enabled": false }
  ]
}

EngineAssociation

Controls which engine instance opens the project:

ValueMeaning
"5.8"Launcher install; any machine with UE 5.8 can open it
"{GUID}"Local source-built engine; GUID indexes HKCU\Software\Epic Games\Unreal Engine\Builds
"../UnrealEngine"Relative path to an engine subdirectory (e.g. Git submodule)
"" (empty)Walk up the directory hierarchy — use when engine and project share a repo

Wrong EngineAssociation is the most common cause of "opens with the wrong engine." Update it with the launcher or by running UnrealVersionSelector.exe /switchversion MyGame.uproject.

Source: ProjectDescriptor.h:76 (comment on FString EngineAssociation).

Modules array

Each entry is FModuleDescriptor (Runtime/Projects/Public/ModuleDescriptor.h:154). Key fields: Name, Type (EHostType::Type), LoadingPhase (ELoadingPhase::Type).

Common Type values: Runtime (game + editor + server), Editor (editor-only tools), DeveloperTool (debug utilities, excluded from Shipping).

Common LoadingPhase values: Default (most gameplay code), PreDefault (plugin dependencies that game code needs at startup), PostEngineInit (optional/deferred tools).

Full EHostType and ELoadingPhase enum tables: references/uproject-and-modules.md.

Plugins array

Enable or disable engine/project plugins. Each entry maps to FPluginReferenceDescriptor. The editor's Plugins window writes these entries; editing the JSON directly is equivalent.

A project with no Source/ folder is Blueprint-only. Adding the first C++ class creates Source/ and the Target files, converting it to a C++ project.

The primary game module

Every C++ project needs exactly one primary game module. It is declared with IMPLEMENT_PRIMARY_GAME_MODULE in the module's .cpp implementation file:

cpp
// Source/MyGame/Private/MyGameModule.cpp
#include "Modules/ModuleManager.h"

IMPLEMENT_PRIMARY_GAME_MODULE(FDefaultModuleImpl, MyGame, "MyGame");
  • Macro defined at Runtime/Core/Public/Modules/ModuleManager.h:1100.
  • Use FDefaultModuleImpl unless you need StartupModule/ShutdownModule hooks.
  • All additional modules in the project use IMPLEMENT_MODULE (not the primary variant).

Full primary-module mechanics, Target.cs anatomy, and plugin descriptor fields: references/uproject-and-modules.md.

Config .ini hierarchy

Settings cascade from the engine base through your project's Default*.ini to per-platform and per-user files. The file you always edit is Config/Default{Type}.ini.

FileTypical contents
DefaultEngine.iniRendering settings, default maps, GameMode, collision channels
DefaultGame.iniProject name/version, Asset Manager, game-specific settings
DefaultInput.iniLegacy input axis/action bindings
DefaultEditor.iniEditor preferences shipped with the project
DefaultGameplayTags.iniGameplay tag table

Sections use [/Script/ModuleName.ClassName] (class name without U/A prefix). Example:

ini
[/Script/EngineSettings.GameMapsSettings]
GameDefaultMap=/Game/Maps/MainMenu.MainMenu
GlobalDefaultGameMode=/Script/MyGame.MyGameMode

UGameMapsSettings is declared in Runtime/EngineSettings/Classes/GameMapsSettings.h:101 with UCLASS(config=Engine, defaultconfig).

Config array operators

When a key appears multiple times across hierarchy files the operator prefix controls the merge:

PrefixMeaning
(none)Replace all, then append
+Append if not already present
.Append unconditionally (allow duplicates)
-Remove exact match
!Clear the array

UPROPERTY(config) — auto-binding from ini

cpp
UCLASS(config=Game)
class UMyGameSettings : public UObject
{
    GENERATED_BODY()

    UPROPERTY(config)
    int32 MaxPlayers = 4;
};

The CDO is populated automatically from DefaultGame.ini; access it with GetDefault<UMyGameSettings>(). Write and persist changes with GetMutableDefault<UMyGameSettings>()->SaveConfig().

Reading config in C++ (GConfig)

GConfig (extern FConfigCacheIni* GConfig; — CoreGlobals.h:96) holds the merged cache for all categories. Use the typed getters for arbitrary keys:

cpp
int32 Val = 0;
GConfig->GetInt(TEXT("/Script/MyGame.MySettings"), TEXT("MaxPlayers"), Val, GGameIni);

GEngineIni, GGameIni, GInputIni, … resolve to the merged filenames for each category.

Full hierarchy layer table, array operator examples, SaveConfig, console variable sections, and command-line overrides: references/config-system.md.

Content paths and mount points

Always use virtual content paths — never OS paths:

PrefixResolves to
/Game/Project Content/ (FPaths::ProjectContentDir())
/Engine/Engine Content/
/PluginName/Plugin Content/

Asset object path format: /Game/Path/To/Asset.Asset.

What to source-control (.gitignore)

Commit: *.uproject, Config/, Content/, Source/, Plugins/**/Source, Plugins/**/Content, *.uplugin.

Ignore (generated):

gitignore
Binaries/
Intermediate/
DerivedDataCache/
Saved/
.vs/
*.VC.db
Plugins/**/Binaries/
Plugins/**/Intermediate/

Use Git LFS for .uasset/.umap on real projects (they are binary and do not text-merge). Full .gitignore and .gitattributes patterns: references/folder-layout-and-vcs.md.

Gotchas

  • Wrong EngineAssociation — the project opens with the wrong engine or fails to open on other machines. Use UnrealVersionSelector to set it correctly.
  • Editing Saved/Config/ instead of Config/Default*.ini — Saved/ is a per-machine override; your change won't be in source control or affect teammates.
  • Committing Binaries//Intermediate/ — bloats the repo and causes merge conflicts in generated files; always ignore these.
  • .uasset files are binary — they don't text-merge; coordinate edits or use file locking (Perforce exclusive checkout or Git LFS lock).
  • Deleting Intermediate/ fixes stale-header errors — if UHT-generated headers are out of sync, delete Intermediate/ and rebuild.
  • Blueprint-only project opened after adding C++ — the editor must regenerate project files; right-click the .uproject → "Generate Project Files".
  • IMPLEMENT_PRIMARY_GAME_MODULE missing — linker error or the module fails to load at runtime in monolithic builds. Every C++ project needs exactly one.

Version notes

  • TObjectPtr<T> is the modern form for UPROPERTY pointers (UE5+); raw T* still works. Relevant when reading older .uproject or C++ examples.
  • PlatformAllowList/PlatformDenyList replaced WhitelistPlatforms/BlacklistPlatforms in module descriptors across UE5; both are accepted by current UBT.
  • Enhanced Input stores bindings in .uasset files, not DefaultInput.ini. Legacy DefaultInput.ini bindings remain functional.

References & source material

Engine source (UE 5.8, under Engine/Source/):

  • Runtime/Projects/Public/ProjectDescriptor.h — FProjectDescriptor struct:42, EngineAssociation:76, Modules:85, Plugins:88.
  • Runtime/Projects/Public/ModuleDescriptor.h — FModuleDescriptor:154, EHostType::Type:82, ELoadingPhase::Type:26.
  • Runtime/Projects/Public/PluginReferenceDescriptor.h — plugin enable/disable descriptor used in "Plugins" array.
  • Runtime/Core/Public/Modules/ModuleManager.h — IMPLEMENT_PRIMARY_GAME_MODULE:1100, IMPLEMENT_GAME_MODULE:984, IMPLEMENT_MODULE:946.
  • Runtime/Core/Public/Misc/ConfigCacheIni.h — FConfigCacheIni:1264, GetInt:1490, LoadGlobalIniFile:1843.
  • Runtime/Core/Public/Misc/ConfigHierarchy.h — GConfigLayers[] inline array defining the full hierarchy layer order.
  • Runtime/Core/Public/CoreGlobals.h — extern FConfigCacheIni* GConfig:96, GEngineIni, GGameIni globals.
  • Runtime/Core/Public/Misc/Paths.h — FPaths::ProjectDir():262, FPaths::ProjectContentDir():276, FPaths::ProjectConfigDir():283, FPaths::ProjectSavedDir():290.
  • Runtime/EngineSettings/Classes/GameMapsSettings.h — UGameMapsSettings:101, GameDefaultMap:209, GlobalDefaultGameMode:217.

Official docs (UE 5.8, verified live):

Deep-dive references in this skill:

  • references/uproject-and-modules.md — full FProjectDescriptor/FModuleDescriptor schema, EngineAssociation variants, EHostType/ELoadingPhase tables, primary-game-module mechanics, Target.cs anatomy.
  • references/config-system.md — full hierarchy layer table, array operators, UPROPERTY(config) binding, GConfig API, SaveConfig, console variable sections, command-line overrides.
  • references/folder-layout-and-vcs.md — per-folder detail, content virtual paths, complete .gitignore and .gitattributes.

Cross-skill references:

  • ue-module-and-build-system — Build.cs, UBT dependency graph, IWYU, PCH.
  • ue-plugins-and-modules — authoring and distributing .uplugin-based plugins.
  • ue-packaging-and-deployment — cook, stage, and package; StagedBuilds/ output.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ue Project Structure làm được gì?

Navigate and configure an Unreal Engine project — the .uproject descriptor (FProjectDescriptor: FileVersion, EngineAssociation, Modules, Plugins), the standard folder layout (Config/ with Default*.ini files, Content/, Source/ with the primary game module, Plugins/, and the generated Binaries/Intermediate/DerivedDataCache/Saved/ folders), the config file hierarchy and ini syntax (sections, array operators, UPROPERTY(config), GConfig), content virtual paths (/Game/ /Engine/), and which files to source-control versus ignore. Use when creating or opening a project, editing .uproject modules or...

Vì sao nên dùng Ue Project Structure trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ue Project Structure là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ue Project Structure trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-project-structure. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ue Project Structure?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ue Project Structure với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ue Project Structure với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ue Project Structure có miễn phí không?

Kỹ năng này được kevinpbuckley phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇