Skip to content

Fix GKGameActivity Initializer - #74

Merged
ryzngard merged 1 commit into
apple:mainfrom
ryzngard:dev/ahall32/gkgammeactivity_availability_check
Dec 11, 2025
Merged

ryzngard merged 1 commit into
apple:mainfrom
ryzngard:dev/ahall32/gkgammeactivity_availability_check

Conversation

@ryzngard

@ryzngard ryzngard commented Dec 9, 2025

Copy link
Copy Markdown
Collaborator

Fix #60
GKGameActivity has a static initializer that was being called regardless of system support. The static initializer needs to check availability first.

GKGameActivity has a static initializer that was being called regardless of system support. The static initializer needs to check availability first.
ryzngard added a commit to ryzngard/unityplugins that referenced this pull request Dec 9, 2025
…ased iOS and macOS 26+ (apple#74)

GKAccessPoint.TriggerWithGameActivity reflects the missing API from https://developer.apple.com/documentation/gamekit/gkaccesspoint/trigger(gameactivity:handler:)-8i6w7

Test app has also been updated to include a button for this addition for testing.

Fixes rdar://161192452 (Missing API for GKAccessPoint.trigger(gameactivity:handler:))
@ryzngard
ryzngard merged commit 9f82e7f into apple:main Dec 11, 2025
@ryzngard
ryzngard deleted the dev/ahall32/gkgammeactivity_availability_check branch December 11, 2025 23:16
pull Bot pushed a commit to 16CentAstrology/unityplugins that referenced this pull request Sep 16, 2026
GKGameActivity has a static initializer that was being called regardless of system support. The static initializer needs to check availability first.
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.

Crash occurring when authenticating user for Game Center

1 participant