Keep a generated Unreal map and first-run settings from dirtying a Linux checkout
Section titled “Keep a generated Unreal map and first-run settings from dirtying a Linux checkout”- Status: Current.
- Engine: ue6-main
61e2877e10, Linux x86_64, Epic clang 23.1.5 (v27 SDK). - Context: Standalone UE6. Coop Zero generates a map from JSON and places BPVerse and native actors in an editor commandlet.
- Prerequisites: The compiled UE6 Linux editor and engine patch listed in the slice recipe, project-local generation scripts, and a pristine project clone.
Symptom
Section titled “Symptom”After the original Coop Zero scratch package, git diff --stat reported changes in Config/DefaultEngine.ini and Content/Maps/Slice.umap. The INI gained 15 lines in the Android File Server section. The placement commandlet rewrote the map when it saved the layout. A fresh working tree can also gain an editor INI and Linux packaging metadata. The first Step 12b attempt under shared load hit the 900-second offscreen import timeout with rc=124.
Smallest example / reproduction
Section titled “Smallest example / reproduction”In a scratch clone of the original Step 12 source at 468bc90, run the asset commandlets and inspect Git status.
COOP_BUILD_LABEL=step12-dirty-example Scripts/build_slice.sh editorCOOP_BUILD_LABEL=step12-dirty-example Scripts/build_slice.sh assetsgit status --shortEditor startup can save a random Android File Server token while generating the map. The all entry point also cooks and stages project-local metadata. The slice recipe records the corrected sequence. Slice recipe
Solution
Section titled “Solution”- Commit project configuration for unused Android File Server settings with
bEnablePlugin=False,bAllowNetworkConnection=Falseand an emptySecurityToken. Commit the native animation modifier revision that this engine expects in the editor INI. - Track the layout and generation code. Ignore the regenerated map file at its existing game package path. Generate it before cooking and verify that it reopens in the placement commandlet. The package-only command reports a missing map before starting UAT.
- Give the headless commandlets 1,800 seconds under the shared wrapper so the cold Vulkan startup can finish.
- Ignore the project-local
Build/Crypto.jsoncache and LinuxFileOpenOrderlogs. Keep other files underBuildeligible for source control.
Why it works
Section titled “Why it works”Android File Server creates and saves a random token when its startup value is [AUTO]. An empty token bypasses that write, and disabling the server fits the Linux-only slice. The native animation modifier only updates the defaults when its stored revision differs from its native revision. The generated map retains its original package path, so the normal cook and startup commands resolve it after generation. The commandlets and cooker can still write their local artifacts.
Verified
Section titled “Verified”- Evidence level: runs in editor and runs in packaged build.
- How: The slice recipe’s exact sequence cloned
step-12at8fb9c751c6d69622bc48e46b0587c916a669f525.Scripts/build_slice.sh allloggedSLICE_MAP actors=65 map=/Game/Maps/Slice unmanaged=0andBUILD SUCCESSFUL.Scripts/prove_slice.sh smokeprintedFresh package map, flock, icons and Verse objective assertions passed. The nextgit status --shortprinted no lines. The checkout was then removed. Evidence is in the Coop Zero checkout atSaved/step12b/final-console.log. - Date / by: 2026-11-25, Coop Zero Step 12b.
Limits and assumptions
Section titled “Limits and assumptions”The proof uses this engine revision and the Linux Development build. A later engine may migrate other settings. Projects that use Android File Server need their own token provisioning. The clean Git status assertion checks source-tree side effects. Package bytes can vary across builds.