ue-build

SkillMonitoring & ops

Build the SentryPlayground sample project for a target platform

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the ue-build skill

What this skill tells your AI

The instructions your AI receives, as published by getsentry/sentry-unreal in .claude/skills/ue-build/SKILL.md and read by ahel’s review.

Build the SentryPlayground sample project.

  1. Check the UNREAL_ENGINE_ROOT environment variable (use PowerShell .NET method on Windows: [System.Environment]::GetEnvironmentVariable('UNREAL_ENGINE_ROOT')). If unset or the path doesn't exist, ask the user for the engine path.

  2. Choose the build mode from conversation context:

    • Compile-only (default) - when the goal is verifying that code compiles after changes, or as a prerequisite for /ue-unit-test. Invokes UnrealBuildTool directly and is much faster than a full package.
    • Full package - when the user wants a packaged, runnable game build (e.g. as a prerequisite for /ue-integration-test, or if they mention packaging/cooking/distribution).
  3. Determine the target platform from conversation context using this lookup table. If no platform is mentioned, default to the host platform (Win64 on Windows, Mac on macOS, Linux on Linux). If ambiguous, ask the user.

    AliasPlatform flag
    Win64, WindowsWin64
    Mac, macOSMac
    AndroidAndroid
    iOSIOS
    LinuxLinux
    LinuxArm64LinuxArm64
    XSX, Xbox SeriesXSX
    XB1, Xbox OneXB1
    PS5, PlayStationPS5
    Switch, NXSwitch
  4. Determine the build configuration: use Development by default, or Shipping if the user mentions it.

Compile-only build

Resolve the repo root and invoke UnrealBuildTool with the editor target for the host platform:

REPO=$(git rev-parse --show-toplevel)

# Windows
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/Build.bat" SentryPlaygroundEditor Win64 Development \
    -project="$REPO/sample/SentryPlayground.uproject" -waitmutex

# macOS
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/Mac/Build.sh" SentryPlaygroundEditor Mac Development \
    -project="$REPO/sample/SentryPlayground.uproject" -waitmutex

# Linux
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/Linux/Build.sh" SentryPlaygroundEditor Linux Development \
    -project="$REPO/sample/SentryPlayground.uproject" -waitmutex

To compile-check a non-host or non-editor platform (e.g. Android, iOS, consoles), build the game target instead, substituting the platform and configuration: SentryPlayground <Platform> <Config>.

Full package build

Resolve the repo root and run the BuildCookRun command:

REPO=$(git rev-parse --show-toplevel)

# Windows
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/RunUAT.bat" BuildCookRun \
    -project="$REPO/sample/SentryPlayground.uproject" \
    -archivedirectory="$REPO/sample/dist" \
    -platform=Win64 -clientconfig=Development \
    -build -cook -stage -package -archive -nop4

# macOS
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/RunUAT.sh" BuildCookRun \
    -project="$REPO/sample/SentryPlayground.uproject" \
    -archivedirectory="$REPO/sample/dist" \
    -platform=Mac -clientconfig=Development \
    -build -cook -stage -package -archive -nop4

# Linux
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/RunUAT.sh" BuildCookRun \
    -project="$REPO/sample/SentryPlayground.uproject" \
    -archivedirectory="$REPO/sample/dist" \
    -platform=Linux -clientconfig=Development \
    -build -cook -stage -package -archive -nop4

Substitute the platform and config values as determined above.

For Android Shipping builds, add the -distribution flag.

Execution notes

  • Builds regularly take longer than the default command timeout. Run the build command in the background and monitor its output, or raise the timeout accordingly.
  • On failure, check the logs for the root cause:
    • UnrealBuildTool: $UNREAL_ENGINE_ROOT/Engine/Programs/UnrealBuildTool/Log.txt
    • UAT (BuildCookRun): $UNREAL_ENGINE_ROOT/Engine/Programs/AutomationTool/Saved/Logs/

Signals

GitHub stars
172
Forks
56
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
ue-build
Source
github.com/getsentry/sentry-unreal