Skip to content

Include UMG in an offscreen Linux packaged screenshot

Section titled “Include UMG in an offscreen Linux packaged screenshot”
  • Status: current
  • Engine: ue6-main 61e2877e10, Linux x86_64, Epic clang 23.1.5
  • Context: standalone Linux Development package with Vulkan SM6 and a native UMG viewport widget
  • Prerequisites: a writable capture directory, a working Vulkan offscreen launch and a live Slate game viewport

A plain shot filename=... requests a scene capture. A UI fixture needs the screenshot path that includes the Slate viewport and its widgets.

With $P and $WRAP set as in the README:

Terminal window
"$WRAP" ui-offscreen timeout -k 10s 120s "$P/Out/Linux/CoopZero.sh" \
-RenderOffscreen -windowed -ResX=1280 -ResY=720 -nosound -unattended -stdout \
"-ExecCmds=delay 3 shot showui filename=$P/Saved/welcome.png -nosuffix,delay 5 quit" \
-abslog="$P/Saved/ui-offscreen.log"

Request shot showui after the widget is in the viewport. Name a unique absolute path for each state and leave time to write it before quitting. Use the Development log to identify the menu or gameplay state immediately before each capture. Check the output PNG signature, size and dimensions.

showui selects the Slate screenshot path when the game viewport has a valid window. The -RenderOffscreen Vulkan path provides the render target and keeps the monitor available. The delayed commands let the menu and game frames render before readback.

  • Evidence level: runs in packaged build
  • How: bash Scripts/prove_ui.sh ran the offscreen package with shot showui for each state and printed Step 11 packaged assertions passed. Saved/step11-proof.ypOYAl/captures.log logged rhifeaturelevel="SM6", HUD textures=29 and HUD bubble bird=Hen1 icon=water before the need capture. All four PNGs in that directory were 1280×720 and passed the size and signature checks.
  • Date / by: 2026-11-25, Coop Zero Step 11

This verifies the capture command, file metadata and scripted state markers. Visual quality and physical controller operation require owner review. -nullrhi remains appropriate for logs and cannot supply the rendered screenshot.