fredemmott/OpenXR-API-Layers-GUI

Local build works fine, executable from CI crashes when executed

fredemmott opened this issue · 4 comments

Discovered while reviewing #10

FOLDERID_ProgramFilesX64 is documented as undefined in 32-bit builds, so the crash makes sense. What doesn't make sense is that the latest release works fine despite this.

My best guess is a change in the windows SDK version included in the github actions runner.

The previous build was definitely a 32-bit build, but didn't have the same issue:

image

Two issues:

  • Used FOLDERID_ProgramFilesX64 in a 32-bit build. This was always invalid, unclear why it worked in previous release version
  • When fixing another issue, I made an assumption that there is always a selected layer