ue-build
Build the SentryPlayground sample project for a target platform
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Build the SentryPlayground sample project.
-
Check the
UNREAL_ENGINE_ROOTenvironment variable (use PowerShell.NETmethod on Windows:[System.Environment]::GetEnvironmentVariable('UNREAL_ENGINE_ROOT')). If unset or the path doesn't exist, ask the user for the engine path. -
Determine the target platform from conversation context using this lookup table. If no platform is mentioned, default to the host platform (
Win64on Windows,Macon macOS,Linuxon Linux). If ambiguous, ask the user.Alias Platform flag Win64, Windows Win64 Mac, macOS Mac Android Android iOS IOS Linux Linux LinuxArm64 LinuxArm64 XSX, Xbox Series XSX XB1, Xbox One XB1 PS5, PlayStation PS5 Switch, NX Switch -
Determine the build configuration: use
Developmentby default, orShippingif the user mentions it. -
Run the build command from the repository root:
# Windows
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/RunUAT.bat" BuildCookRun \
-project="$PWD/sample/SentryPlayground.uproject" \
-archivedirectory="$PWD/sample/dist" \
-platform=Win64 -clientconfig=Development \
-build -cook -stage -package -archive -nop4
# macOS
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/RunUAT.sh" BuildCookRun \
-project="$PWD/sample/SentryPlayground.uproject" \
-archivedirectory="$PWD/sample/dist" \
-platform=Mac -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.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!