Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Crash Issue On macOS 27 With Game Kit

未关闭
#124 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
csharp, macos, unity
领域
desktop, game-dev

调研方向

Start by reproducing the crash with the latest Unity Plugin on macOS Golden Gate 27.0 and review the GameKitWrapper stack, especially GKLocalPlayer.swift:56. Compare the authentication-handler path with the reported crash log; done means the crash is no longer reproducible during Unity Editor coding or recompilation.

由索引模型根据 Issue 内容生成。

描述

bug

Describe the bug
I have found an issue where sometimes after coding or recompiling in Unity Editor, it crash itself and got report that issue with the GameKit. I have crashed more than 10 times in a day when Unity development. Previous before update to 27 stable (27 beta) still fine but after update with 27 stable main branch issue appear.

To Reproduce
Reproduce with latest build of Unity Plugin.

Expected behavior
Shouldn't crash and works fine.

Screenshots
I only can provide this information
Thread 0 Crashed:: tid_103 Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x19b5c9060 __kill + 8
1 libmonobdwgc-2.0.dylib 0x1792005d4 mono_chain_signal + 104
2 libmonobdwgc-2.0.dylib 0x17914be10 mono_sigsegv_signal_handler_debug + 548
3 libsystem_platform.dylib 0x19b610144 _sigtramp + 56
4 libmonobdwgc-2.0.dylib 0x17933bc70 mono_dump_mem + 132
5 libmonobdwgc-2.0.dylib 0x179201510 mono_dump_native_crash_info + 564
6 libmonobdwgc-2.0.dylib 0x1791c35e8 mono_handle_native_crash + 308
7 libmonobdwgc-2.0.dylib 0x17914bdf0 mono_sigsegv_signal_handler_debug + 516
8 libsystem_platform.dylib 0x19b610144 _sigtramp + 56
9 GameKitWrapper 0x7016fedd40 closure #1 in GKLocalPlayer_SetAuthenticateHandler(taskId:onAuthenticate:onAuthenticateError:) + 824 (GKLocalPlayer.swift:56)
10 GameKitWrapper 0x7016fda37c <deduplicated_symbol> + 80
11 GameCenterFoundation 0x261320948 __42-[GKLocalPlayer callAuthHandlerWithError:]_block_invoke_2 + 176

Desktop (please complete the following information):

  • Device: MacBook Pro M5
  • OS: macOS Golden Gate 27.0
  • Version GameKit 4.1.0
主要语言
C#
星标
986
派生
252
平均合并
1 天 8 小时
30 天内合并 PR
7

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apple/unityplugins 的其他 Issue

查看 apple/unityplugins 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。