[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FES8ADR61MY1XXVC4AG2NA":3,"skill-same:01M6FES8ADR61MY1XXVC4AG2NA":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6FES8ADR61MY1XXVC4AG2NA","ue-testing-debugging",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fquodsoler\u002Funreal-engine-skills\u002Fue-testing-debugging\u002FSKILL.md",[],[18,19,20],"testing","debugging","ue testing debugging","2026-11-10 10:12:30",false,"# UE Testing & Debugging\n\nYou are an expert in testing, debugging, and profiling Unreal Engine C++ projects.\n\n## Context\n\nRead `.agents\u002Fue-project-context.md` for engine version, existing log categories, test infrastructure (automation modules, test maps), and project-specific conventions before providing guidance.\n\n## Before You Start\n\nAsk which area the user needs help with if unclear:\n- **Automation tests** — unit\u002Fintegration tests using IMPLEMENT_SIMPLE_AUTOMATION_TEST\n- **Functional tests** — actor-based AFunctionalTest in maps\n- **Logging** — UE_LOG, custom categories, verbosity filtering\n- **Assertions** — check, ensure, verify and when to use each\n- **Debug drawing** — DrawDebug helpers for runtime visualization\n- **Console commands** — UFUNCTION(Exec), FAutoConsoleCommand, CVars\n- **Profiling** — Unreal Insights, stat commands, SCOPE_CYCLE_COUNTER\n\n---\n## Automation Framework\n\nAutomation tests live in a dedicated module (e.g., `MyGameTests`) that depends on `\"AutomationController\"`. Include the module in the editor target via `ExtraModuleNames` and conditionally in the game target via `if (bWithAutomationTests)`.\n\n### Simple Tests\n\n```cpp\n\u002F\u002F Source\u002FMyGameTests\u002FPrivate\u002FMyFeature.spec.cpp\n#include \"Misc\u002FAutomationTest.h\"\n\u002F\u002F Must specify one application context flag AND exactly one filter flag\nIMPLEMENT_SIMPLE_AUTOMATION_TEST(FMyInventoryTest, \"MyGame.Inventory.AddItem\",\n    EAutomationTestFlags::EditorContext | EAutomationTestFlags::ProductFilter)\n\nbool FMyInventoryTest::RunTest(const FString& Parameters)\n{\n    UInventoryComponent* Inv = NewObject\u003CUInventoryComponent>();\n    Inv->AddItem(FName(\"Sword\"), 1);\n    TestEqual(TEXT(\"Item count after add\"), Inv->GetItemCount(FName(\"Sword\")), 1);\n    TestTrue(TEXT(\"Has sword\"), Inv->HasItem(FName(\"Sword\")));\n    TestFalse(TEXT(\"No axe\"),   Inv->HasItem(FName(\"Axe\")));\n    TestNotNull(TEXT(\"Inv valid\"), Inv);\n    return true;\n}\n```\n\n### Complex \u002F Parameterized Tests\n\n`IMPLEMENT_COMPLEX_AUTOMATION_TEST` requires overriding `GetTests()` to populate the parameter list, and `RunTest(Parameters)` receives each entry in turn.\n\n```cpp\nIMPLEMENT_COMPLEX_AUTOMATION_TEST(FMyAssetLoadTest, \"MyGame.Assets.LoadByPath\",\n    EAutomationTestFlags::EditorContext | EAutomationTestFlags::ProductFilter)\n\nvoid FMyAssetLoadTest::GetTests(TArray\u003CFString>& OutBeautifiedNames,\n                                 TArray\u003CFString>& OutTestCommands) const\n{\n    OutBeautifiedNames.Add(TEXT(\"Sword\"));  OutTestCommands.Add(TEXT(\"\u002FGame\u002FItems\u002FBP_Sword\"));\n    OutBeautifiedNames.Add(TEXT(\"Shield\")); OutTestCommands.Add(TEXT(\"\u002FGame\u002FItems\u002FBP_Shield\"));\n}\n\nbool FMyAssetLoadTest::RunTest(const FString& Parameters)\n{\n    UObject* Asset = StaticLoadObject(UObject::StaticClass(), nullptr, *Parameters);\n    if (!TestNotNull(TEXT(\"Asset loaded\"), Asset)) { return false; }\n    TestTrue(TEXT(\"Is DataAsset\"), Asset->IsA\u003CUPrimaryDataAsset>());\n    return true;\n}\n```\n\n### Test Assertion Methods\n\n```cpp\n\u002F\u002F Equality — overloaded for int32, int64, float, double, FVector, FRotator,\n\u002F\u002F            FTransform, FColor, FLinearColor, FString, FStringView, FText, FName\nTestEqual(TEXT(\"Label\"), Actual, Expected);\nTestEqual(TEXT(\"Float approx\"), ActualF, ExpectedF, 0.001f);   \u002F\u002F tolerance overload\n\n\u002F\u002F Boolean\nTestTrue(TEXT(\"Label\"), bCondition);\nTestFalse(TEXT(\"Label\"), bCondition);\n\n\u002F\u002F Pointer \u002F validity\nTestNotNull(TEXT(\"Label\"), Ptr);          \u002F\u002F fails if Ptr == nullptr\nTestNull(TEXT(\"Label\"), Ptr);             \u002F\u002F fails if Ptr != nullptr\nTestValid(TEXT(\"Label\"), WeakPtr);        \u002F\u002F IsValid() check on TWeakObjectPtr etc.\n\n\u002F\u002F Custom failure messages\nAddError(FString::Printf(TEXT(\"Unexpected damage %d\"), Damage));\nAddWarning(TEXT(\"Deprecated path hit\"));\n\n\u002F\u002F Add error and bail — returns false from RunTest if condition fails\nUE_RETURN_ON_ERROR(Ptr != nullptr, TEXT(\"Ptr must not be null\"));\n```\n\n### Test Flags Reference\n\n| Flag | Meaning |\n|---|---|\n| `EditorContext` | Runs in the editor process |\n| `ClientContext` | Runs in game client |\n| `ServerContext` | Runs on dedicated server |\n| `SmokeFilter` | Fast; runs on every CI check-in |\n| `ProductFilter` | Project\u002Fgame-level tests |\n\n---\n## Latent Commands (Async Testing)\n\nUse latent commands when the test must wait for an async operation. `Update()` returns `true` when done, `false` to retry next frame.\n\n```cpp\nDEFINE_LATENT_AUTOMATION_COMMAND_ONE_PARAMETER(FWaitSecondsCommand, float, Duration);\nbool FWaitSecondsCommand::Update() { return GetCurrentRunTime() >= Duration; }\n\n\u002F\u002F Enqueue inside RunTest; commands drain sequentially after RunTest returns\nADD_LATENT_AUTOMATION_COMMAND(FWaitSecondsCommand(2.0f));\n```\n\nSee `references\u002Fautomation-test-patterns.md` for delegate-wait, timeout, and post-async assertion patterns.\n\n---\n## Functional Tests\n\n`AFunctionalTest` is a `UCLASS` actor placed in a test map. Override `StartTest()` and call `FinishTest()` when done.\n\n```cpp\n\u002F\u002F MyFunctionalTest.h\nUCLASS()\nclass MYGAMETESTS_API AMyFunctionalTest : public AFunctionalTest\n{\n    GENERATED_BODY()\npublic:\n    virtual void StartTest() override;\nprivate:\n    UFUNCTION() void OnTimerExpired();\n    FTimerHandle TimerHandle;\n};\n\n\u002F\u002F MyFunctionalTest.cpp\nvoid AMyFunctionalTest::StartTest()\n{\n    Super::StartTest();\n    GetWorldTimerManager().SetTimer(TimerHandle, this,\n        &AMyFunctionalTest::OnTimerExpired, 1.0f, false);\n}\n\nvoid AMyFunctionalTest::OnTimerExpired()\n{\n    bool bPassed = \u002F* verify world state *\u002F true;\n    FinishTest(bPassed ? EFunctionalTestResult::Succeeded\n                       : EFunctionalTestResult::Failed,\n               TEXT(\"Timer-based check\"));\n}\n```\n\nPlace actors in `Maps\u002FTest_MyFeature.umap`. Run via `RunAutomationTest \"MyGame.Functional.MyFeature\"` or the Session Frontend.\n\n### TimeLimit\n\n```cpp\n\u002F\u002F Timeout — auto-fail if test exceeds time limit\nvoid AMyFunctionalTest::PrepareTest()\n{\n    Super::PrepareTest();\n    TimeLimit = 10.0f;  \u002F\u002F seconds; 0 = no timeout (default)\n}\n```\n\n---\n## Logging\n\n### Declaring and Defining a Category\n\n```cpp\n\u002F\u002F MyModule.h  — visible across the module\nDECLARE_LOG_CATEGORY_EXTERN(LogMyModule, Log, All);\n\u002F\u002F                           ^Name       ^Default  ^CompileTime max\n\n\u002F\u002F MyModule.cpp\nDEFINE_LOG_CATEGORY(LogMyModule);\n\n\u002F\u002F Single-file static category (no extern needed)\nDEFINE_LOG_CATEGORY_STATIC(LogMyHelper, Warning, All);\n```\n\n### UE_LOG Usage\n\n```cpp\n\u002F\u002F UE_LOG(CategoryName, Verbosity, Format, ...)\nUE_LOG(LogMyModule, Log,        TEXT(\"Player spawned: %s\"), *PlayerName);\nUE_LOG(LogMyModule, Warning,    TEXT(\"Inventory full, dropping item %s\"), *ItemName);\nUE_LOG(LogMyModule, Error,      TEXT(\"Failed to load asset at %s\"), *AssetPath);\nUE_LOG(LogMyModule, Verbose,    TEXT(\"Tick called, dt=%.4f\"), DeltaTime);\nUE_LOG(LogMyModule, Fatal,      TEXT(\"Unrecoverable save corruption\")); \u002F\u002F crashes\n\n\u002F\u002F Conditional log — condition evaluated only if category\u002Fverbosity is active\nUE_CLOG(Health \u003C= 0.f, LogMyModule, Warning, TEXT(\"Actor %s has zero health\"), *GetName());\n```\n\n### Verbosity Levels (highest to lowest severity)\n\n| Level | When to use |\n|---|---|\n| `Fatal` | Crash-worthy unrecoverable errors |\n| `Error` | Operation failed, needs developer attention |\n| `Warning` | Unexpected but recoverable condition |\n| `Display` | User-visible output (always shown) |\n| `Log` | Standard development info |\n| `Verbose` | Detailed per-frame or per-call info |\n| `VeryVerbose` | Trace-level; very high frequency |\n\n### Structured Logging (UE 5.2+)\n\n```cpp\n#include \"Logging\u002FStructuredLog.h\"\n\u002F\u002F Named fields — order does not matter; extra fields beyond the format string are allowed\nUE_LOGFMT(LogMyModule, Warning,\n    \"Loading '{Name}' failed with error {Error}\",\n    (\"Name\", AssetName), (\"Error\", ErrorCode), (\"Flags\", LoadFlags));\n```\n\n### Runtime Log Filtering\n\n```\n# Command line: set a category to Verbose at startup\n-LogCmds=\"LogMyModule Verbose, LogAI Warning\"\n\n# Console at runtime\nLog LogMyModule Verbose\nLog LogAI Warning\nLog reset          # restore defaults\n```\n\n---\n## Assertions\n\nAssertions are defined in `Misc\u002FAssertionMacros.h`. Understand the build-configuration behaviour before choosing one.\n\n### check \u002F checkf\n\n```cpp\n\u002F\u002F Active in Debug, Development, Test. REMOVED in Shipping (expression not evaluated).\ncheck(Ptr != nullptr);\ncheckf(Index >= 0 && Index \u003C Array.Num(),\n       TEXT(\"Index %d out of range [0,%d)\"), Index, Array.Num());\n\n\u002F\u002F Debug-only (DO_GUARD_SLOW — only Debug builds)\ncheckSlow(ExpensiveValidationFn());\n\n\u002F\u002F Marks unreachable code paths\ncheckNoEntry();\n\n\u002F\u002F Marks code that must only execute once\ncheckNoReentry();\n```\n\n### ensure \u002F ensureMsgf\n\n```cpp\n\u002F\u002F Non-fatal. Logs callstack and submits crash report. Execution continues.\n\u002F\u002F Fires only ONCE per call site per session (subsequent failures are silent).\nif (ensure(Component != nullptr))\n{\n    Component->DoWork();  \u002F\u002F safe to call here\n}\n\n\u002F\u002F With a message\nensureMsgf(Health > 0.f, TEXT(\"Actor %s has non-positive health %.1f\"),\n           *GetName(), Health);\n\n\u002F\u002F Always fires (not just once per session)\nensureAlways(bInitialized);\nensureAlwaysMsgf(bInitialized, TEXT(\"System not initialized before use\"));\n```\n\n### verify \u002F verifyf\n\n```cpp\n\u002F\u002F Expression ALWAYS evaluated (even in Shipping), but only halts in non-Shipping.\n\u002F\u002F Use when expression has side effects you always need.\nverify(Manager->Init());\nverifyf(Count++ \u003C MaxCount, TEXT(\"Exceeded max count %d\"), MaxCount);\n```\n\n### Decision Guide\n\n| Situation | Macro |\n|---|---|\n| Class invariant, programmer error | `check` \u002F `checkf` |\n| Recoverable condition, want to continue | `ensure` \u002F `ensureMsgf` |\n| Expression has side effects always needed | `verify` \u002F `verifyf` |\n| Debug-build heavy validation | `checkSlow` |\n| User-facing input validation | **none** — use explicit if\u002Freturn |\n\n---\n## Debug Drawing\n\nDebug draw functions from `DrawDebugHelpers.h` render geometry directly in the world viewport during PIE or standalone builds. They are stripped by `#if ENABLE_DRAW_DEBUG` in Shipping.\n\n```cpp\n#include \"DrawDebugHelpers.h\"\n\n\u002F\u002F Duration > 0 = seconds visible; bPersistentLines = true for permanent.\n\u002F\u002F Duration 0 or -1 both show for one frame.\nUWorld* World = GetWorld();\nDrawDebugLine(World, StartLoc, EndLoc, FColor::Red, false, 2.0f, 0, 2.0f);\nDrawDebugSphere(World, Center, Radius, 12, FColor::Green, false, 2.0f);\nDrawDebugBox(World, Center, Extent, FColor::Blue, false, 2.0f);\nDrawDebugCapsule(World, Center, HalfHeight, Radius,\n                 FQuat::Identity, FColor::Yellow, false, 2.0f);\nDrawDebugPoint(World, Location, 8.0f, FColor::White, false, 2.0f);\nDrawDebugDirectionalArrow(World, Start, End, 40.0f, FColor::Cyan, false, 2.0f);\nDrawDebugString(World, Location, TEXT(\"Label\"), nullptr,\n                FColor::White, 2.0f, true);\n\n\u002F\u002F Clear all persistent debug geometry\nFlushPersistentDebugLines(World);\n\n\u002F\u002F Guard persistent draws for shipping: #if ENABLE_DRAW_DEBUG ... #endif\n\u002F\u002F UKismetSystemLibrary::DrawDebugSphere (and siblings) auto-gate behind ENABLE_DRAW_DEBUG\n```\n\n---\n## Console Commands\n\n### Exec Functions\n\n```cpp\n\u002F\u002F AMyPlayerController.h\nUFUNCTION(Exec)\nvoid ToggleGodMode();\n\n\u002F\u002F AMyPlayerController.cpp\nvoid AMyPlayerController::ToggleGodMode()\n{\n    bGodMode = !bGodMode;\n    UE_LOG(LogMyModule, Display, TEXT(\"GodMode: %s\"), bGodMode ? TEXT(\"ON\") : TEXT(\"OFF\"));\n}\n```\n\nExec functions work when typed in the console (~) if on a `PlayerController`, `Pawn`, `HUD`, `GameMode`, `GameState`, `CheatManager`, or `GameInstance`.\n\n### FAutoConsoleCommand and CVars\n\n```cpp\n\u002F\u002F Registers at static init; no world context needed\nstatic FAutoConsoleCommand GDumpStatsCmd(\n    TEXT(\"MyGame.DumpStats\"), TEXT(\"Dump gameplay stats\"),\n    FConsoleCommandDelegate::CreateLambda([]()\n    {\n        UE_LOG(LogMyModule, Display, TEXT(\"=== GameStats ===\"));\n    }));\n\n\u002F\u002F With world + args (PIE-safe; prefer this for gameplay commands)\nstatic FAutoConsoleCommandWithWorldAndArgs GSpawnItemCmd(\n    TEXT(\"MyGame.SpawnItem\"), TEXT(\"Usage: MyGame.SpawnItem \u003CName>\"),\n    FConsoleCommandWithWorldAndArgsDelegate::CreateLambda(\n        [](const TArray\u003CFString>& Args, UWorld* World) { \u002F* spawn *\u002F }));\n\n\u002F\u002F CVar — declare in .cpp to avoid ODR issues\nstatic TAutoConsoleVariable\u003Cfloat> CVarDamageScale(\n    TEXT(\"MyGame.DamageScale\"), 1.0f,\n    TEXT(\"Scales all outgoing damage.\"), ECVF_Cheat);\nfloat Scale = CVarDamageScale.GetValueOnGameThread();\n\n\u002F\u002F Attach CVar to an existing variable\nfloat GDrawDistance = 5000.0f;\nstatic FAutoConsoleVariableRef CVarDrawDistance(\n    TEXT(\"MyGame.DrawDistance\"), GDrawDistance,\n    TEXT(\"Draw distance for gameplay objects\"), ECVF_Default);\n```\n\n### Runtime Command Registration\n\n```cpp\n\u002F\u002F Runtime registration — call from StartupModule, Initialize, or BeginPlay\nIConsoleCommand* Cmd = IConsoleManager::Get().RegisterConsoleCommand(\n    TEXT(\"MyGame.ReloadConfig\"),\n    TEXT(\"Reloads runtime config\"),\n    FConsoleCommandDelegate::CreateUObject(this, &UMySubsystem::ReloadConfig));\n\u002F\u002F Unregister when the owning object is destroyed:\nIConsoleManager::Get().UnregisterConsoleObject(Cmd);\n```\n\nUnlike `FAutoConsoleCommand` (static init registration), `RegisterConsoleCommand` registers at runtime and returns a handle for explicit cleanup.\n\n---\n## Custom Stat Groups & Profiling Markers\n\n```cpp\n\u002F\u002F Declare in a .cpp — feeds stat commands and Unreal Insights\nDECLARE_STATS_GROUP(TEXT(\"MyGame\"), STATGROUP_MyGame, STATCAT_Advanced);\nDECLARE_CYCLE_STAT(TEXT(\"MySystem Tick\"), STAT_MySystemTick, STATGROUP_MyGame);\nDECLARE_CYCLE_STAT(TEXT(\"PathFind\"),      STAT_PathFind,     STATGROUP_MyGame);\n\nvoid UMySystem::Tick(float DeltaTime) { SCOPE_CYCLE_COUNTER(STAT_MySystemTick); }\nFPath UMySystem::FindPath(...)        { SCOPE_CYCLE_COUNTER(STAT_PathFind); }\n\n\u002F\u002F Named events — colored blocks in Insights, no stat overhead\n#include \"HAL\u002FPlatformMisc.h\"\nvoid UMySystem::HeavyOperation() { SCOPED_NAMED_EVENT(MyHeavyOp, FColor::Orange); }\n\n\u002F\u002F CSV profiling — lightweight always-on telemetry written to Saved\u002FProfiling\u002FCSVStats\u002F\n#include \"ProfilingDebugging\u002FCsvProfiler.h\"\nCSV_DEFINE_CATEGORY(MyGame, true);\nvoid UMySystem::Tick(float DeltaTime) { CSV_SCOPED_TIMING_STAT(MyGame, SystemTick); }\n```\n\n---\n## Debugging Techniques\n\n### Visual Logger\n\n```cpp\n#include \"VisualLogger\u002FVisualLogger.h\"\n\u002F\u002F Window > Visual Logger shows a timeline of shapes and log events per actor\nUE_VLOG_SPHERE(this, LogMyModule, Verbose, GetActorLocation(), 50.0f, FColor::Green, TEXT(\"Patrol point\"));\nUE_VLOG_SEGMENT(this, LogMyModule, Log, From, To, FColor::Red, TEXT(\"Path\"));\nUE_VLOG(this, LogMyModule, Log, TEXT(\"State: %s\"), *StateName);\n```\n\n### Gameplay Debugger\n\nPress `'` (apostrophe) in PIE to open the Gameplay Debugger. It shows AI, EQS, Ability System, and custom categories. Register a custom category in module startup:\n\n```cpp\nIGameplayDebugger::Get().RegisterCategory(\"MySystem\",\n    IGameplayDebugger::FOnGetCategory::CreateStatic(&FMyDebugCategory::MakeInstance),\n    EGameplayDebuggerCategoryState::EnabledInGame);\n```\n\n### IDE Breakpoint Debugging\n\nAttach Visual Studio or Rider to the running `UnrealEditor` process (Debug > Attach to Process). Use `DebugGame` or `Debug` configuration for full symbol resolution -- `Development` strips many symbols.\n\n```cpp\n\u002F\u002F Break on assertion failures -- set breakpoints on these functions:\n\u002F\u002F FDebug::AssertFailed       (check\u002Fcheckf)\n\u002F\u002F FDebug::EnsureFailed       (ensure\u002FensureMsgf)\n\u002F\u002F FDebug::OptionallyLogFormattedEnsureMessageReturningFalse\n\n\u002F\u002F Conditional breakpoint example (VS\u002FRider):\n\u002F\u002F Condition: Actor->GetName().Contains(TEXT(\"Enemy\"))\n\u002F\u002F Hit count: break on 5th hit\n```\n\nFor `check()` and `ensure()` failures, set breakpoints on the handler functions above -- they fire before crash\u002Flog, letting you inspect the call stack.\n\n### Crash Analysis\n\n- Minidumps land in `Saved\u002FCrashes\u002F`. Open with `UnrealEditor-Win64-DebugGame` PDB in WinDbg or Rider.\n- `FDebug::DumpStackTraceToLog(ELogVerbosity::Error)` prints the current callstack to the log.\n- `ensure` submits a callstack to the Crash Reporter without crashing the process.\n\n**Network**: `-NetTrace` for replication capture, `stat net` for live bandwidth, `net.ListActorChannels` for actor channels.\n\n**Key profiling commands**: `stat startfile`\u002F`stat stopfile` (.uestats capture for Insights), `stat gpu`\u002F`ProfileGPU` (GPU timing), `stat memoryplatform`\u002F`memreport -full` (memory), `-trace=cpu,gpu,frame,memory` (Insights launch args). See `references\u002Fprofiling-commands.md`.\n\n---\n\n## Common Mistakes\n\n**check() in shipping** — `check()` expressions are compiled out of Shipping builds. Never put required logic inside a check expression; use `verify()` if the expression must always evaluate.\n\n**ensure fires only once** — After the first ensure failure at a call site, subsequent calls at that site are silent. Use `ensureAlways` if you need every failure reported.\n\n**DrawDebug in shipping** — DrawDebug calls do not exist in Shipping without `ENABLE_DRAW_DEBUG`. Wrap persistent draws with `#if ENABLE_DRAW_DEBUG`.\n\n**Missing log category** — Defining `UE_LOG` with a category not visible in the current translation unit causes a linker error. Include the header that declares the category.\n\n**Automation test without a filter flag** — Every `IMPLEMENT_SIMPLE_AUTOMATION_TEST` must have exactly one filter flag (Smoke, Engine, Product, Perf, Stress, or Negative). Missing it is a compile-time `static_assert` failure.\n\n**Latent command after `return true`** — Latent commands are enqueued before the function returns. Do not enqueue them after the `return true;` statement.\n\n**Log spam in multiplayer** — Identical log calls fire from both server and each client. Prefix messages with `GetWorld()->GetNetMode()` or use `UE_CLOG(HasAuthority(), ...)` to reduce noise.\n\n---\n\n## Related Skills\n\n- `ue-cpp-foundations` — UE macro system, delegates, FString, UE_LOG basics\n- `ue-module-build-system` — setting up a dedicated test module and target inclusion\n- `ue-actor-component-architecture` — AFunctionalTest placement and world interaction\n\n---\n## References\n\n- `references\u002Fautomation-test-patterns.md` — test setup patterns, latent commands, common scenarios\n- `references\u002Fprofiling-commands.md` — stat commands, Insights capture, analysis workflow\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fquodsoler\u002Funreal-engine-skills\u002Fue-testing-debugging",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill ue-testing-debugging",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill ue-testing-debugging",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill ue-testing-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fquodsoler\u002Funreal-engine-skills\u002Fue-testing-debugging\u002FSKILL.md",true,[],[49,58,67,76,82,88],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[55,56,57],"model","model hierarchy","model hierarchy skill",{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[64,65,66],"MCP","zoom","zoom mcp",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[73,74,75,65],"sdk","zoom apps sdk","apps",{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[78],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[90]]