File I/O: UE5 pak async read completes without reading (The Matrix Awakens, LZ4 UncompressMemory failed) #2493
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2493
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Diskuss on GitHub · 2026-11-25 20:15 UTC · original
Game and package version
The Matrix Awakens: An Unreal Engine 5 Experience, Xbox Series GDK build 1.20.1831.3754 (
Frosty-XSX-Shipping.exe).XCL version
main
2898511+5fe5b41(draft PR #1887) cherry-picked. Without it the title dies earlier atCreateCommandSignature(...DispatchIndirectMeshCommandSignature...)E_INVALIDARG (indirect argument type 107); #1984 mapped the command-list DispatchMesh slot, not this one.GPU and driver version
AMD Radeon RX 9070 XT, 32.0.32015.7029. Not AMD-specific as far as known.
Windows version
Windows 11 (26300.9974)
What happens
Three
FCompression::UncompressMemory failed (885/1382)(LZ4) lines, then an access violation in game code atfrosty-xsx-shipping.exe+0x57a3d48(read of 0x70, null object) about 6 s in. No window, no frames.Findings
ShaderArchive-Global-SF_XSX_SM6.ushaderbytecode, stored uncompressed insideFrosty-XSX.pakat offset 0x38983b. Decoding that shader (and the first 4000) from the file with an independent LZ4 decoder succeeds, so the pak data is fine.global.ucasandFrosty-XSX.ucasopened). No failed ReadFile. No memory-mapped I/O (not imported).FShaderCodeArchive::CreateShader(frosty+0x2ea1960), the first call for shader 0x552 already finds a preloaded Code pointer. So the preload (FileCache ReadData -> pak async read) completed or was skipped without any I/O reaching XCL. The access violation is a consequence.GDKContext creation failed -1994173944(0x89235208, believed E_XBL_NOT_INITIALIZED, unconfirmed); LoadLibrary(AudioHALWrapper.dll) returns NULL;report.jsonlists XGameRuntime "XGame: missing".Hypothesis (unproven)
The UE pak async-read path (
IAsyncReadFileHandle/ precacher) signals completion without issuing a read, for example an event/wait or task-queue primitive behaving differently under XCL, or a pak-chunk/XPackage availability query answering "available".Next step
Break on
FFileCacheHandle::ReadData(synchronous call site frosty+0x2ea1b45) to see whichIAsyncReadFileHandlecompletes the request and how.Repro
2898511and cherry-pick5fe5b41(PR #1887).xcl runthe unpacked title from<Mount>.Logs and dumps available on request (not attached: no game data in them, but large).
report.json/xcl.logare in%LOCALAPPDATA%\XCL\<title>\logs\.AI use: Claude Code (Claude Opus 5.5) analysis, Claude Code (Claude Sonnet 5.5) wrote this issue; from real runs on this machine.