據 AlphaMoat 統計,截至 2026-09,Unreal Engine 累計下載 2,516 次、獲 5 個星標,在全部 5,078 個 AI 技能中排名第 4,089 位,在「開發程式設計」分類(577 個)中排名第 506 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 66 | 2401 | 4 | - |
| SkillHub ↗ | 169 | 2516 | 5 | — |
各平台的計數口徑不同,統計時間不一致。
涵蓋 UObject 垃圾回收、UPROPERTY/UFUNCTION 宏、Actor 生命週期、Tick 效能、網路複製、資源引用和指標所有權等注意事項。該內容是通用參考,可能與具體引擎版本、專案架構或網路模型不符;應用前應對照專案文件和程式碼規範核驗。 發布前由 Unreal Engine 開發者審閱改動,並核驗編輯器與封裝版本中的行為。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 2516 | — | 5 |
| 2026-08 | 2239 | +10.3% | 5 |
| 2026-07 | 2029 | +21.2% | 5 |
| 2026-06 | 1674 | +11.0% | 5 |
| 2026-05 | 1508 | — | 4 |
| 2026-03 | 1096 | — | 4 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
---
name: Unreal Engine
description: Avoid common Unreal mistakes — garbage collection, UPROPERTY macros, replication authority, and asset reference pitfalls.
metadata: {"clawdbot":{"emoji":"🎯","os":["linux","darwin","win32"]}}
---
## Garbage Collection
- Raw pointers to UObjects get garbage collected — use `UPROPERTY()` to prevent
- `UPROPERTY()` marks for GC tracking — without it, pointer becomes dangling
- `TWeakObjectPtr` for optional references — doesn't prevent collection, check `IsValid()`- `NewObject<T>()` for UObjects — never raw `new`, GC won't track it ## UPROPERTY and UFUNCTION - `UPROPERTY()` required for Blueprint access — and for GC tracking - `UFUNCTION()` for Blueprint callable/events — also required for replication - `EditAnywhere` vs `VisibleAnywhere` — edit allows changes, visible is read-only - `BlueprintReadWrite` vs `BlueprintReadOnly` — controls Blueprint access level ## Actor Lifecycle - `BeginPlay` after all components initialized — safe to access components - Constructor runs on CDO (Class Default Object) — don't spawn actors or access world - `PostInitializeComponents` before BeginPlay — for component setup - `EndPlay` for cleanup — called on destroy and level transition ## Tick Performance - Disable tick when not needed — `PrimaryActorTick.bCanEverTick = false` - Use timers instead of tick + counter — `GetWorldTimerManager().SetTimer()` - Tick groups for ordering — `PrePhysics`, `DuringPhysics`, `PostPhysics` - Blueprint tick expensive — move hot logic to C++ ## Replication - Server is authority — clients request, server validates and replicates - `UPROPERTY(Replicated)` for variable sync — implement `GetLifetimeReplicatedProps` - `UFUNCTION(Server)` for client-to-server RPC — must be `Reliable` or `Unreliable` - `HasAuthority()` to check if server — before executing authoritative logic - `Role` and `RemoteRole` for network role checks — `ROLE_Authority` is server ## Asset References - Hard references load with parent — bloats memory, use for always-needed - Soft references (`TSoftObjectPtr`) load on demand — for optional or large assets - `LoadSynchronous()` or `AsyncLoad` for soft refs — don't access until loaded - Blueprint class references: `TSubclassOf<T>` — type-safe class selection ## Memory and Pointers - `TSharedPtr` for non-UObjects — reference counted, auto-deletes - `TUniquePtr` for exclusive ownership — can't copy, moves only - `MakeShared<T>()` for creation — single allocation for object and control block - Never mix raw `new/delete` with smart pointers — choose one pattern ## Common Mistakes - Accessing null actor in Blueprint — use `IsValid()` node before access - PIE (Play In Editor) vs packaged build differ — test shipping build - Hot reload corrupts Blueprints — close editor, build, reopen - `GetWorld()` null in constructor — world doesn't exist yet, use BeginPlay - Spawning in constructor crashes — defer to BeginPlay or later - `FString` for display, `FName` for identifiers — FName is hashed, faster comparison
用 gh 命令列工具檢視 GitHub 上的 PR 檢查、工作流執行與 API 查詢的技能。
聚合 16 個搜尋引擎、無需 API Key 的檢索技能。
用命令列直接列出、配置、授權並呼叫 MCP 服務與工具。
生成有效的 Mermaid 圖表,如流程圖、時序圖、思維導圖、ER 圖、使用者旅程等。
用受管 OAuth 訪問 YouTube Data API,檢索影片並管理頻道內容。
透過受管的 OAuth 連線訪問 GitHub REST API。
覆蓋規劃、實現、驗證與測試的編碼工作流技能。
整理 Docker 常用命令與容器工作流的技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
在保留公式、格式和活頁簿結構的前提下建立、檢查或編輯 Excel 檔案。
處理 Word 與 DOCX 文件的作業指南,著重維持樣式、編號與版面。
把資料庫、表格與匯出的原始資料變成可決策結論的資料分析技能。
協助編輯 PowerPoint 簡報,並在交付前檢查版面是否正常呈現。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。