Skip to content

ci: Remove GameAssembly link outputs before saving the Windows Library cache - #2896

Open
bitsandfoxes wants to merge 2 commits into
mainfrom
fix/ci-windows-pdb-guid
Open

bitsandfoxes wants to merge 2 commits into
mainfrom
fix/ci-windows-pdb-guid

Conversation

@bitsandfoxes

@bitsandfoxes bitsandfoxes commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Windows IL2CPP integration builds restore a cached samples/IntegrationTest/Library/ that still holds Bee's GameAssembly.pdb and .ilk. MSVC links incrementally against them, keeping the PDB GUID and only bumping the age, so every branch's build uploads GameAssembly under the same debug IDs (e.g. e78f23f1-…-b and e78f23f1-…-c on both main and #2889). Sentry then symbolicates with whichever build uploaded last, and the IL2CPP line-number assertion fails with frames resolved to the wrong file and line (seen on #2889, where main's upload landed after the PR's).

Deleting the GameAssembly.dll, .pdb, and .ilk on main before saving the Library cache forces a fresh link with a new GUID on every restore while keeping the cached object files.

🤖 Generated with Claude Code

@bitsandfoxes bitsandfoxes changed the title ci: Drop cached GameAssembly link outputs in Windows test builds ci: Remove GameAssembly link outputs before saving the Windows Library cache Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant