# UE6 (ue6-main) on Linux: spike findings, 24 Nov 2026

Machine: Arch-based Linux (Omarchy), kernel 7.2, 32 threads, 123 GB RAM. Toolchain from Setup.sh: native-linux-v27_clang-23.1.5-rockylinux8.
Commit: 61e2877e (23 Nov 2026). Upstream head 5f910d65 checked 24 Nov: still affected.

## 1. Linux editor build fails: SetUtilities.h does not include UEOps.h (clang two-phase lookup)

- Target: `Build.sh UnrealEditor Linux Development`. 9162 of 9170 actions pass; one TU fails:
  `Module.TEDSVPathReg.cpp` (Engine/Plugins/EntityFramework/Source/TedsVersePathRegistry/Private/TedsVersePathSyncImpl.cpp:418, `FunctionHandles.Add(Handle)` on a `TSet<UE::VersePathRegistry::FPathHandle>`).
- Error: `SetUtilities.h:69:12: error: call to function 'operator==' that is neither visible in the template definition nor found by argument-dependent lookup` / note: `'operator==' should be declared prior to the call site or in namespace 'UE::VersePathRegistry'` (UEOps.h:190).
- Cause: `FPathHandle` (namespace `UE::VersePathRegistry`) gets `==` only through the global `UEOps.h` template via `UEOpEquals`. `DefaultKeyFuncs::Matches` in `SetUtilities.h` compares with `==` but does not include `Misc/UEOps.h`, and in this TU's PCH chain (CoreSharedPCH -> AsyncWork -> Compression -> Map -> Set -> ScriptSparseSet -> SetUtilities) the template is defined before UEOps.h is seen. ADL cannot find a global operator for a namespaced type. MSVC accepts it; clang does not. So any namespaced UEOps type used as a TSet/TMap key can break on Linux/Mac depending on include order.
- Fix (matches Array.h, ArrayView.h, IndirectArray.h, SharedPointer.h, UniqueObj.h, which all include UEOps.h): `patches/0001-SetUtilities-include-UEOps.patch`, one line `#include "Misc/UEOps.h"` in SetUtilities.h.
- Evidence level: compiled (24 Nov). With the patch, UnrealEditor Linux Development builds clean (rc=0, 0 errors, 87 min at 8 actions), ShaderCompileWorker too.

## 2. GitDependencies stalls on Linux (.NET HttpClient)

- `GitDependencies.sh` downloads stall: each connection stops receiving after roughly 35 MB, while curl to the same cdn.unrealengine.com URLs sustains ~13.7 MB/s.
- `DOTNET_SYSTEM_NET_HTTP_SOCKETSHTTPHANDLER_HTTP2SUPPORT=0` + `DOTNET_SYSTEM_NET_DISABLEIPV6=1` help once, then stall again. `--http-timeout-multiplier` makes each stall wait longer.
- Workaround: prefill `.git/ue-gitdeps/<first2hex>/<PackHash>` with the raw compressed packs from `https://cdn.unrealengine.com/dependencies/<RemotePath>/<PackHash>` (prefill.py, curl, 6 parallel). After that GitDependencies finishes in ~30 s.
- Suggestion: a stall watchdog per request in GitDependencies (abort + retry when no bytes arrive for N seconds) rather than only an overall timeout.
- Evidence level: not recorded. The spike notes the stall and the ~30 s finish after the prefill; it assigns no level.

Anything public (UDN/forum post, GitHub PR) is the owner's decision.

## 3. Verse in project Content compiles on Linux (step 5, 24 Nov)

- Blank BP project + plugins Solaris, Verse, VersePrint, EntityFramework + `[ConsoleVariables] verse.UObjectBinding=1`; `Content/spike_counter.verse` (a class with a mutable field and a `<transacts>` method).
- Headless `UnrealEditor-Cmd <proj> -nullrhi -unattended`: "Generating UE types for Verse package Game ... 1 types", "Global Verse compile ... finished: SUCCESS", about 26 s after boot. Compiler is in-tree (libUnrealEditor-VerseCompiler.so); no Restricted/NotForLicensees binaries needed.
- Negative test: a type error gives `Script error 3509` at the right line/column and "finished: FAILED".
- Minor: `-ExitAfterVerseCompile` only acts inside the DLC/content-worker branch of SolarisLoadCompilerModule.cpp (~line 725), and `-ExitFailureOnVerseCompileFailure` did not exit on the startup compile either, so a CI-style "compile Verse and quit" from a project needs a timeout today.
- Evidence level: runs in editor (headless `UnrealEditor-Cmd` startup compile).

## 4. Linux packaging with Verse works (step 6, 24 Nov)

- `RunUAT.sh BuildCookRun -platform=Linux -clientconfig=Development -build -cook -stage -pak -archive` on the VerseSpike project (Template_Default map): BUILD SUCCESSFUL in 39 min (game target + cook + pak). Cook ran the project Verse compile ("1 packages ... SUCCESS"). Package is 2.9 GB.
- Packaged game boots headless (-nullrhi): mounts paks, JIT-links the Verse VNI packages, sees the project's `Game` Verse package, loads the map, runs 90 s without a crash. Only error: CommonUI viewport-client warning (template config, harmless).
- Not yet proven: Verse code *running* in the packaged game (nothing in the map uses spike_counter yet). Next: one Scene Graph entity with a Verse component in a map.
- Evidence level: compiled for the package; runs in packaged build for startup and map load only.

## 5. Verse Scene Graph component runs in a packaged Linux game (24 Nov)

- Headless placement: `UnrealEditor-Cmd <proj> -run=PythonScript -Script=Scripts/place_spike.py -nullrhi` uses `SceneGraphEditorSubsystem` (`list_entity_classes`, `list_component_classes`, `create_entity`, `add_component`) + `LevelEditorSubsystem.new_level/save_current_level`. The project Verse component resolves as `/Game/_Verse.spike_marker_component`; the entity survives save + reload.
- Packaged (BuildCookRun, Development, Linux) game run with `-nullrhi`: after `LoadMap(/Game/Maps/SpikeMap)` the log has `LogVerse: SPIKE_VERSE_MARKER_BEGINSIM_7f3a` and `LogVerse: SPIKE_VERSE_MARKER_SIMULATE_7f3a`.
- Docs gap worth reporting: Verse `Print` reaches the log only when the `UnrealEngineExperimental` plugin is enabled (it registers the only IVersePrintHandler). Without it, Print in a standalone project is silent with no warning.
- Independent check: CONFIRMED (packaged binary, content from paks, map + _Verse.uasset cooked, no .verse in package, each marker once, no rollback). Not covered: -nullrhi only, so rendering untested.
- Evidence level: runs in packaged build (`-nullrhi`).
