קריסות סימבוליות ב-Android ושגיאות ANR במשחקי Unity
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
דוחות קריסות ומקרי ANR ב-Android מייצרים דוח קריסות, שהוא תמונת מצב של
רצף של פונקציות בתוך המשחק שנקראות במשחק, עד לרגע שבו הוא קרס.
קובצי ה-snapshot יכולים לעזור לכם לזהות ולתקן בעיות במקור.
עם זאת, כשמפתחים את המשחק באמצעות Unity במצב גרסה, הסמלים הם
לא ארוז ב-APK. אם המשחק קורס או כולל מקרי ANR, מקבץ השיחות בלבד
מציג את הכתובת של הזיכרון.
Google Play תומכת בהעלאה של קובץ סמלים של ניפוי באגים לכל גרסה של האפליקציה
ב-Play Console. כך יהיה קל יותר לנתח ולתקן קריסות ומקרי ANR.
החל מ-Unity 2020.3 ואילך, אפשר לפעול לפי ההנחיות של Unity כדי ליצור
סמלי Android
ולאחר מכן להעלות את קובץ הסימולציות ל-Google
ב-Play Console אפשר לראות דוח קריסות שקריא לאנשים ב-Android Vitals
במרכז הבקרה.
אחרת, אפשר לפעול לפי
מאמר בנושא סמל קריסה של Android מאת
אפשר להשתמש ב-Unity כדי לפענח את דוח הקריסות באופן ידני או ליצור קובצי סמלים לרמה נמוכה יותר
של Unity.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Symbolicate Android crashes and ANR for Unity games\n\nCrashes and ANRs on Android produce a stack trace, which is a snapshot of the\nsequence of nested functions called in your game up to the moment it crashed.\nThese snapshots can help you identify and fix any problems in the source.\n\nHowever, when you build your game with Unity in release mode, the symbols are\nnot packed with the APK. If your game crashes or has ANRs, the call stack only\nshows the memory address.\n\nFor example:\n\u003e\n\u003e 05-26 18:06:51.311: A/libc(26986): Fatal signal 11 (SIGSEGV) at 0x000004e4 (code=1), thread 27024 (Worker Thread)\n\u003e 05-26 18:06:51.411: I/DEBUG(242): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\n\u003e 05-26 18:06:51.411: I/DEBUG(242): Build fingerprint: 'Xiaomi/cancro_wc_lte/cancro:4.4.4/KTU84P/V6.7.1.0.KXDCNCH:user/release-keys'\n\u003e 05-26 18:06:51.411: I/DEBUG(242): Revision: '0'\n\u003e 05-26 18:06:51.411: I/DEBUG(242): pid: 26986, tid: 27024, name: Worker Thread \u003e\u003e\u003e com.u.demo \u003c\u003c\u003c\n\u003e 05-26 18:06:51.411: I/DEBUG(242): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000004e4\n\u003e I/DEBUG(242): backtrace:\n\u003e I/DEBUG(242): #00 pc 006d4960 /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #01 pc 006d4c0c /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #02 pc 006d4c0c /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #03 pc 006d4c0c /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #04 pc 006d4c0c /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #05 pc 001c5510 /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #06 pc 001c595c /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #07 pc 001c4ec0 /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #08 pc 0043a05c /data/app-lib/com.u.demo-1/libunity.so\n\u003e I/DEBUG(242): #09 pc 0000d248 /system/lib/libc.so (__thread_entry+72)\n\u003e I/DEBUG(242): #10 pc 0000d3e0 /system/lib/libc.so (pthread_create+240)\n\nGoogle Play supports uploading a debug symbols file for each version of your app\nin Play Console. This makes it easier to analyze and fix your crashes and ANRs.\n\nFrom Unity 2020.3 and higher, you can follow Unity's guidance to generate\n[Android symbols](https://docs.unity3d.com/2020.3/Documentation/Manual/android-symbols.html)\nand then [upload the symbolication file](https://support.google.com/googleplay/android-developer/answer/9848633?#zippy=%2Cupload-files-using-play-console) to Google\nPlay Console to see a human-readable stack trace on the Android Vitals\ndashboard.\n\nOtherwise, you can follow the\n[Symbolicate Android crash](https://support.unity.com/hc/en-us/articles/115000292166-Symbolicate-Android-crash) article from\nUnity to manually resolve the stack trace or generate symbol files for lower\nversions of Unity."]]