Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Crash Issue On macOS 27 With Game Kit

未關閉
#124 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 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 摘要。