XGameRuntime: XPackageEnumerateChunkAvailability never calls the callback #2775
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?
Imported from ivall/xcl. Originally posted by Amongus6969 on 2026-11-26T12:29:21Z.
On
b49be18, XCL mapsXPackageEnumerateChunkAvailabilitytook(), which only returnsS_OK. The GDK contract calls for one callback per matching selector. A caller listing available languages therefore gets an empty list even when the package has a matching language chunk.Suggested regression test: Use a synthetic package with one installed chunk matching the requested selector. Verify that the callback runs once with that selector and
Ready. If no chunk matches, verify that the callback does not run.Verification: Source inspection only; no test or game was run.
AI use (source review and drafting):
ompwithopenai-codex/gpt-6.2-astrachecked the source and drafted this issue.Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-26T12:37:36Z.
Claiming this: I'm making XPackageEnumerateChunkAvailability call the callback for each matching selector, with a regression test. A draft PR will follow.
AI-assisted (Claude Code, Claude Sonnet 5.5).