Skip to content

feat: Add WinGDK platform support#1337

Merged
tustanivsky merged 5 commits into
mainfrom
feat/wingdk-support
Apr 17, 2026
Merged

feat: Add WinGDK platform support#1337
tustanivsky merged 5 commits into
mainfrom
feat/wingdk-support

Conversation

@tustanivsky

@tustanivsky tustanivsky commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

This PR adds the SENTRY_WINGDK build define to properly exclude the Windows subsystem implementation when building for WinGDK (which inherits Windows sources in UE's platform hierarchy), and updates the console extension init scripts to support WinGDK setup.

Example crash event captured in WinGDK sample game build.

Depends on https://github.com/getsentry/sentry-xbox/pull/124

Closes #941

Key Changes

  • Add SENTRY_WINGDK define to exclude Windows subsystem when building for WinGDK
  • Add WinGDK to console extension init scripts (init-consoles.ps1, init-console-ext.ps1)
  • Update CLAUDE.md to document WinGDK extension path

Additional Details

WinGDK inherits from Windows in UE's platform hierarchy, so Private/Windows/ sources are automatically compiled. The SENTRY_WINGDK define (set to 0 for Win64 and 1 by the WinGDK extension) guards WindowsSentrySubsystem to prevent FPlatformSentrySubsystem redefinition when the extension provides its own.

Related items

@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • Add WinGDK platform support by tustanivsky in #1337

Bug Fixes 🐛

  • Prevent potential script injection in crash-reporter-build workflow by fix-it-felix-sentry in #1324

Internal Changes 🔧

Deps

  • Update Crash Reporter to v0.1.1 by github-actions in #1344
  • Update Native SDK to v0.13.6 by github-actions in #1339
  • Update Android Gradle Plugin to v6.4.0 by github-actions in #1338
  • Update Cocoa SDK to v9.10.0 by github-actions in #1335
  • Update Java SDK to v8.38.0 by github-actions in #1336
  • Update Native SDK to v0.13.5 by github-actions in #1334
  • Update Cocoa SDK to v9.9.0 by github-actions in #1332
  • Update CLI to v3.3.5 by github-actions in #1323

Other

  • Update validate-pr workflow by stephanie-anderson in #1328

Other

  • Add native backend support for Mac by tustanivsky in #1333
  • Fix intermittent crash when capturing screenshots due to invalid viewport by tustanivsky in #1331
  • Suppress superfluous warnings when detecting for SteamOS by yangskyboxlabs in #1326
  • Add out-of-process screenshot capturing on Windows by tustanivsky in #1325

🤖 This preview updates automatically when you update the PR.

@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against d73863f

@tustanivsky tustanivsky mentioned this pull request Apr 9, 2026
@tustanivsky tustanivsky marked this pull request as ready for review April 17, 2026 08:28
@tustanivsky

Copy link
Copy Markdown
Collaborator Author

Requires sentry-xbox 0.13.7+20260417

@tustanivsky tustanivsky merged commit 3f3a193 into main Apr 17, 2026
234 of 243 checks passed
@tustanivsky tustanivsky deleted the feat/wingdk-support branch April 17, 2026 11:24
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.

Support for WinGDK

2 participants