Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Crashes coming from Unity Analytics on Android after updating to 2021.3.9f1

Discussion in 'Unity Analytics' started by MigrantP, Sep 8, 2022.

  1. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Hi, our game was previously on Unity 2019 LTS and we're looking at moving it up to Unity 2021 LTS. It uses Unity Analytics for some basic events, which was previously on version 3.3.5 and got updated to version 4.1.0 with the upgrade to 2021.3.9f1.

    The game is playing generally fine on Android but we're getting seemingly random crashes on device. I symbolicated the crashes and they are coming from inside Unity Analytics. I'm not sure what I can do here besides potentially disable analytics, but I'd rather not do that. The device I'm using is a samsung SM-X200 on Android 11.

    The project ID for the game is 65c1299a-e45a-4b52-bd08-fca2e0f77ae6.

    Code (CSharp):
    1. 09-07 19:21:04.854 13766 29132 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    2. 09-07 19:21:04.854 13766 29132 E CRASH   : Version '2021.3.9f1 (ad3870b89536)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    3. 09-07 19:21:04.855 13766 29132 E CRASH   : Build fingerprint: 'samsung/gta8wifixx/gta8wifi:11/RP1A.200720.012/X200XXU1AVG1:user/release-keys'
    4. 09-07 19:21:04.855 13766 29132 E CRASH   : Revision: '0'
    5. 09-07 19:21:04.855 13766 29132 E CRASH   : ABI: 'arm64'
    6. 09-07 19:21:04.855 13766 29132 E CRASH   : Timestamp: 2022-09-07 19:21:04-0300
    7. 09-07 19:21:04.855 13766 29132 E CRASH   : pid: 13766, tid: 29132, name: UnityMain  >>> com.handelabra.AeonsEnd <<<
    8. 09-07 19:21:04.855 13766 29132 E CRASH   : uid: 10226
    9. 09-07 19:21:04.855 13766 29132 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x144e28d1a62cf0
    10. 09-07 19:21:04.855 13766 29132 E CRASH   :     x0  b400007037392270  x1  0000006dd0f059c8  x2  0000000000000000  x3  0000000000000006
    11. 09-07 19:21:04.855 13766 29132 E CRASH   :     x4  0000000000000000  x5  0000006e5c2ae9f5  x6  0000000000000214  x7  0075007400650053
    12. 09-07 19:21:04.855 13766 29132 E CRASH   :     x8  0000000000000000  x9  d0144e28d1a62cd8  x10 0000006d0000006d  x11 b400007037392270
    13. 09-07 19:21:04.855 13766 29132 E CRASH   :     x12 00000000000006dd  x13 006e004500790074  x14 0000000000040000  x15 0000000061a6ba27
    14. 09-07 19:21:04.855 13766 29132 E CRASH   :     x16 0000006e5c529358  x17 0000007158d4cdb8  x18 0000006dd0c06168  x19 0000006dd0f05828
    15. 09-07 19:21:04.855 13766 29132 E CRASH   :     x20 0000006dd0f059c8  x21 0000006dd0f05838  x22 0000006e5c556db0  x23 0000000000000010
    16. 09-07 19:21:04.855 13766 29132 E CRASH   :     x24 0000006e5c544cf0  x25 0000000000000049  x26 0000000000000049  x27 0000006e5c546526
    17. 09-07 19:21:04.855 13766 29132 E CRASH   :     x28 0000000000000018  x29 0000000000003244
    18. 09-07 19:21:04.855 13766 29132 E CRASH   :     sp  0000006eaf8b2460  lr  0000006e5bc42704  pc  0000006e5bc42260
    19. 09-07 19:21:04.855 13766 29132 E CRASH   : backtrace:
    20. 09-07 19:21:04.855 13766 29132 E CRASH   :       #00 pc 0000000000802260 (UnityEngine::Analytics::SessionContainer::Archive() at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    21. 09-07 19:21:04.855 13766 29132 E CRASH   :       #01 pc 0000000000802700 (UnityEngine::Analytics::SessionHeader::RestoreFromFile(FileAccessor&) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    22. 09-07 19:21:04.855 13766 29132 E CRASH   :       #02 pc 00000000008026b8 (UnityEngine::Analytics::SessionContainer::RestoreSessionHeader(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, UnityEngine::Analytics::SessionHeader&) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    23. 09-07 19:21:04.855 13766 29132 E CRASH   :       #03 pc 0000000000146ab4 (_GLOBAL__sub_I_Runtime_Graphics_2.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    24. 09-07 19:21:04.855 13766 29132 E CRASH   :       #04 pc 0000000000144a30 (_GLOBAL__sub_I_Runtime_2D_Renderer_0.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    25. 09-07 19:21:04.855 13766 29132 E CRASH   :       #05 pc 0000000000144bb4 (_GLOBAL__sub_I_Runtime_2D_Renderer_0.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    26. 09-07 19:21:04.855 13766 29132 E CRASH   :       #06 pc 0000000000146eec (_GLOBAL__sub_I_Runtime_Graphics_5.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    27. 09-07 19:21:04.855 13766 29132 E CRASH   :       #07 pc 00000000000fd754 (?? ??:0)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    28. 09-07 19:21:04.855 13766 29132 E CRASH   :       #08 pc 00000000000fd5d4 (?? ??:0)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    29. 09-07 19:21:04.855 13766 29132 E CRASH   :       #09 pc 00000000002d2348 (Rigidbody2D_Get_Custom_PropSharedMaterial(ScriptingBackendNativeObjectPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    30. 09-07 19:21:04.855 13766 29132 E CRASH   :       #10 pc 00000000002d2c14 (Rigidbody2D_Set_Custom_PropDrag(ScriptingBackendNativeObjectPtrOpaque*, float) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    31. 09-07 19:21:04.855 13766 29132 E CRASH   :       #11 pc 000000000077bdd8 (AudioSampleProviderChannel::InitFMOD(AudioSampleProviderChannel::SpatialBlendMode) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    32. 09-07 19:21:04.855 13766 29132 E CRASH   :       #12 pc 00000000000d7234 (?? ??:0)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    33. 09-07 19:21:04.855 13766 29132 E CRASH   :       #13 pc 00000000000d7124 (?? ??:0)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    34. 09-07 19:21:04.855 13766 29132 E CRASH   :       #14 pc 0000000000efc77c (libil2cpp.so not found)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libil2cpp.so (BuildId: 833726f74c2f0ba3cddee625c116219566960bb8)
    35. 09-07 19:21:04.855 13766 29132 E CRASH   :       #15 pc 0000000000c5a72c (libil2cpp.so not found)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libil2cpp.so (BuildId: 833726f74c2f0ba3cddee625c116219566960bb8)
    36. 09-07 19:21:04.855 13766 29132 E CRASH   :       #16 pc 0000000000c6f1f8 (libil2cpp.so not found)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libil2cpp.so (BuildId: 833726f74c2f0ba3cddee625c116219566960bb8)
    37. 09-07 19:21:04.855 13766 29132 E CRASH   :       #17 pc 00000000028da450 (libil2cpp.so not found)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libil2cpp.so (BuildId: 833726f74c2f0ba3cddee625c116219566960bb8)
    38. 09-07 19:21:04.855 13766 29132 E CRASH   :       #18 pc 0000000000b2805c (libil2cpp.so not found)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libil2cpp.so (BuildId: 833726f74c2f0ba3cddee625c116219566960bb8)
    39. 09-07 19:21:04.855 13766 29132 E CRASH   :       #19 pc 0000000000b27ebc (libil2cpp.so not found)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libil2cpp.so (BuildId: 833726f74c2f0ba3cddee625c116219566960bb8)
    40. 09-07 19:21:04.855 13766 29132 E CRASH   :       #20 pc 00000000002d2850 (Rigidbody2D_CUSTOM_get_worldCenterOfMass_Injected(ScriptingBackendNativeObjectPtrOpaque*, Vector2f&) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    41. 09-07 19:21:04.855 13766 29132 E CRASH   :       #21 pc 00000000002e0580 (FrictionJoint2D_Set_Custom_PropMaxTorque(ScriptingBackendNativeObjectPtrOpaque*, float) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    42. 09-07 19:21:04.855 13766 29132 E CRASH   :       #22 pc 00000000002ec984 (SpriteShapeRenderer_CUSTOM_get_color_Injected(ScriptingBackendNativeObjectPtrOpaque*, ColorRGBAf&) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    43. 09-07 19:21:04.855 13766 29132 E CRASH   :       #23 pc 00000000002ec560 (SpriteShapeUtility_CUSTOM_GenerateSpriteShape_Injected(ScriptingBackendNativeObjectPtrOpaque*, SpriteShapeParameters__ const&, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    44. 09-07 19:21:04.855 13766 29132 E CRASH   :       #24 pc 00000000002ec614 (SpriteShapeUtility_CUSTOM_GenerateSpriteShape_Injected(ScriptingBackendNativeObjectPtrOpaque*, SpriteShapeParameters__ const&, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    45. 09-07 19:21:04.855 13766 29132 E CRASH   :       #25 pc 00000000002ec614 (SpriteShapeUtility_CUSTOM_GenerateSpriteShape_Injected(ScriptingBackendNativeObjectPtrOpaque*, SpriteShapeParameters__ const&, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    46. 09-07 19:21:04.855 13766 29132 E CRASH   :       #26 pc 000000000016e6f0 (_GLOBAL__sub_I_fmod_music.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    47. 09-07 19:21:04.855 13766 29132 E CRASH   :       #27 pc 000000000021435c (NavMeshAgent_Get_Custom_PropPathStatus(ScriptingBackendNativeObjectPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    48. 09-07 19:21:04.855 13766 29132 E CRASH   :       #28 pc 000000000021439c (NavMeshAgent_Get_Custom_PropPathStatus(ScriptingBackendNativeObjectPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    49. 09-07 19:21:04.855 13766 29132 E CRASH   :       #29 pc 00000000002145d4 (NavMeshAgent_CUSTOM_Warp_Injected(ScriptingBackendNativeObjectPtrOpaque*, Vector3f const&) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    50. 09-07 19:21:04.855 13766 29132 E CRASH   :       #30 pc 000000000035a4d0 (ThreadsafeLinearAllocator<false>::SelectFreeBlock(unsigned long) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    51. 09-07 19:21:04.855 13766 29132 E CRASH   :       #31 pc 0000000000370adc (core::StringStorageDefault<char>::replace_internal(char*, char const*, unsigned long, char const*, unsigned long) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    52. 09-07 19:21:04.855 13766 29132 E CRASH   :       #32 pc 00000000000217bc  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/oat/arm64/base.odex
    Code (csharp):
    1.  
    2. 09-07 19:42:00.360 25952 29699 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    3. 09-07 19:42:00.360 25952 29699 E CRASH   : Version '2021.3.9f1 (ad3870b89536)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    4. 09-07 19:42:00.360 25952 29699 E CRASH   : Build fingerprint: 'samsung/gta8wifixx/gta8wifi:11/RP1A.200720.012/X200XXU1AVG1:user/release-keys'
    5. 09-07 19:42:00.360 25952 29699 E CRASH   : Revision: '0'
    6. 09-07 19:42:00.360 25952 29699 E CRASH   : ABI: 'arm64'
    7. 09-07 19:42:00.360 25952 29699 E CRASH   : Timestamp: 2022-09-07 19:42:00-0300
    8. 09-07 19:42:00.360 25952 29699 E CRASH   : pid: 25952, tid: 29699, name: UnityMain  >>> com.handelabra.AeonsEnd <<<
    9. 09-07 19:42:00.360 25952 29699 E CRASH   : uid: 10226
    10. 09-07 19:42:00.360 25952 29699 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6300d1d1212704
    11. 09-07 19:42:00.360 25952 29699 E CRASH   :     x0  b400007037392270  x1  0000006dd1212704  x2  0000006e5a588178  x3  0000006e5b2ae9f5
    12. 09-07 19:42:00.360 25952 29699 E CRASH   :     x4  000000000000029f  x5  0000000000000000  x6  0000000000000000  x7  0000000002bbdf6c
    13. 09-07 19:42:00.360 25952 29699 E CRASH   :     x8  006300d1d12126fc  x9  00000000000026ab  x10 0000000000000000  x11 0000000000000000
    14. 09-07 19:42:00.360 25952 29699 E CRASH   :     x12 00000000000006dd  x13 00000000006e8b5d  x14 0000006dd10fbb10  x15 0000006dd11218c0
    15. 09-07 19:42:00.360 25952 29699 E CRASH   :     x16 0000006e5b529748  x17 0000007158d4e844  x18 0000006dd0c065e8  x19 b400007037392270
    16. 09-07 19:42:00.360 25952 29699 E CRASH   :     x20 0000006dd12126f4  x21 0000006dd1212704  x22 0000000000000057  x23 0000006e5b546526
    17. 09-07 19:42:00.360 25952 29699 E CRASH   :     x24 0000000000000018  x25 0000000000003244  x26 0000000000003248  x27 ffffff5d00000000
    18. 09-07 19:42:00.360 25952 29699 E CRASH   :     x28 0000000000002a20  x29 0000006de0000010
    19. 09-07 19:42:00.360 25952 29699 E CRASH   :     sp  0000006eaf6a5e90  lr  0000006e5a586ab8  pc  0000006e5ac4265c
    20. 09-07 19:42:00.360 25952 29699 E CRASH   : backtrace:
    21. 09-07 19:42:00.360 25952 29699 E CRASH   :       #00 pc 000000000080265c (UnityEngine::Analytics::SessionContainer::RestoreSessionHeader(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, UnityEngine::Analytics::SessionHeader&) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    22. 09-07 19:42:00.360 25952 29699 E CRASH   :       #01 pc 0000000000146ab4 (_GLOBAL__sub_I_Runtime_Graphics_2.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    23. 09-07 19:42:00.360 25952 29699 E CRASH   :       #02 pc 00000000001457cc (_GLOBAL__sub_I_Runtime_BaseClasses_2.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    24. 09-07 19:42:00.360 25952 29699 E CRASH   :       #03 pc 0000000000147118 (_GLOBAL__sub_I_Runtime_Graphics_8.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    25. 09-07 19:42:00.360 25952 29699 E CRASH   :       #04 pc 00000000000ddcf0 (?? ??:0)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    26. 09-07 19:42:00.360 25952 29699 E CRASH   :       #05 pc 000000000062248c (Scripting::Unity::Profiling::LowLevel::Unsafe::ProfilerRecorderHandleProxy::CleanupProxy() at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    27. 09-07 19:42:00.360 25952 29699 E CRASH   :       #06 pc 000000000012d7cc (?? ??:0)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    28. 09-07 19:42:00.360 25952 29699 E CRASH   :       #07 pc 00000000001a24b4 (Projector_Get_Custom_PropOrthographic(ScriptingBackendNativeObjectPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    29. 09-07 19:42:00.360 25952 29699 E CRASH   :       #08 pc 0000000000150b1c (_GLOBAL__sub_I_PlatformDependent_AndroidPlayer_Source_2.cpp at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    30. 09-07 19:42:00.360 25952 29699 E CRASH   :       #09 pc 0000000000201d1c (PlayableGraph_CUSTOM_Destroy_Injected(HPlayableGraph*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    31. 09-07 19:42:00.360 25952 29699 E CRASH   :       #10 pc 0000000000201e24 (PlayableGraph_CUSTOM_Stop_Injected(HPlayableGraph*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    32. 09-07 19:42:00.360 25952 29699 E CRASH   :       #11 pc 0000000000211098 (NavMeshObstacle_CUSTOM_FitExtents(ScriptingBackendNativeObjectPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    33. 09-07 19:42:00.361 25952 29699 E CRASH   :       #12 pc 000000000021e48c (AndroidJNIBindingsHelpers::NewFloatArray(int) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    34. 09-07 19:42:00.361 25952 29699 E CRASH   :       #13 pc 000000000021d70c (AndroidJNIBindingsHelpers::FromByteArray(void*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    35. 09-07 19:42:00.361 25952 29699 E CRASH   :       #14 pc 000000000021dd20 (AndroidJNIBindingsHelpers::FromLongArray(void*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    36. 09-07 19:42:00.361 25952 29699 E CRASH   :       #15 pc 000000000021e010 (AndroidJNIBindingsHelpers::FromObjectArray(void*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    37. 09-07 19:42:00.361 25952 29699 E CRASH   :       #16 pc 000000000021435c (NavMeshAgent_Get_Custom_PropPathStatus(ScriptingBackendNativeObjectPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    38. 09-07 19:42:00.361 25952 29699 E CRASH   :       #17 pc 000000000021439c (NavMeshAgent_Get_Custom_PropPathStatus(ScriptingBackendNativeObjectPtrOpaque*) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    39. 09-07 19:42:00.361 25952 29699 E CRASH   :       #18 pc 00000000002145d4 (NavMeshAgent_CUSTOM_Warp_Injected(ScriptingBackendNativeObjectPtrOpaque*, Vector3f const&) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    40. 09-07 19:42:00.361 25952 29699 E CRASH   :       #19 pc 000000000035a4d0 (ThreadsafeLinearAllocator<false>::SelectFreeBlock(unsigned long) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    41. 09-07 19:42:00.361 25952 29699 E CRASH   :       #20 pc 0000000000370adc (core::StringStorageDefault<char>::replace_internal(char*, char const*, unsigned long, char const*, unsigned long) at ??:?)  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    42. 09-07 19:42:00.361 25952 29699 E CRASH   :       #21 pc 00000000000217bc  /data/app/~~ORDqDl1ZtbCiR_IRRKx2IQ==/com.handelabra.AeonsEnd-YExo6M59WU9pa_tVn9vJzQ==/oat/arm64/base.odex
     
  2. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    And now testing on macOS, getting crashes there too..
     
  3. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    And on Windows, and iOS.. so, guess we're back to 2019 for now.
     
  4. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    Have you tried updating to
    com.unity.services.analytics
    to 4.2.0, it should be available to update in the package manager on version 2021.3.9f1.
     
  5. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    The Package Manager is showing these as the latest versions and are installed:
    - Analytics 4.1.0
    - Analytics Library 3.6.12

    I don't see an option to update to 4.2.0.
     
  6. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    You can manually do this, please go to your Manifest file found in your Project Name > Packages folder, find
    com.unity.services.analytics

    and amend the version number to 4.2.0 then save and close.
     
  7. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Thanks, I updated that to 4.2.0 and also updated Analytics Library to the latest 3.8.1.

    Still getting random crashes, here's an Android stack trace:

    Code (CSharp):
    1. 09-08 14:11:15.796 10438 11724 E CRASH   : other thread is trapped; signum = 11
    2. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: FATAL EXCEPTION: UnityMain
    3. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: Process: com.handelabra.AeonsEnd, PID: 10438
    4. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    5. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: Version '2021.3.9f1 (ad3870b89536)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    6. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: Build fingerprint: 'samsung/gta8wifixx/gta8wifi:11/RP1A.200720.012/X200XXU1AVG1:user/release-keys'
    7. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: Revision: '0'
    8. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: ABI: 'arm64'
    9. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: Timestamp: 2022-09-08 14:11:15-0300
    10. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: pid: 10438, tid: 11734, name: Thread-257  >>> com.handelabra.AeonsEnd <<<
    11. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: uid: 10226
    12. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1d12e66c0
    13. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     x0  00000001d12e6660  x1  b400007077870048  x2  0000006d27d59c60  x3  0000006e58eb9710
    14. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     x4  0000000000000000  x5  0000006e57175b8c  x6  000000715e6f7000  x7  00000000037dc3ee
    15. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     x8  0000006e5a5303f8  x9  0000000000010000  x10 0000000000002dd6  x11 0000000000002dd6
    16. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     x12 0000006e3030a5e0  x13 000000000004513d  x14 0000006e5a1f8000  x15 0000000000000001
    17. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     x16 0000006e5b529b38  x17 0000007158d4d280  x18 0000006d8e95c000  x19 0000006d27d59c60
    18. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     x20 00000001d12e6660  x21 0000006e5a203000  x22 b400007077870048  x23 0000006e5a20b000
    19. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     x24 0000006e50363000  x25 0000006e5a208000  x26 0000000000000001  x27 0000006d295c5040
    20. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     x28 00000000000fc000  x29 0000006e50362b50
    21. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     sp  0000006e50362a90  lr  0000006e58eb9748  pc  0000006e5a72c750
    22. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:
    23. 09-08 14:11:15.796 10438 11724 E AndroidRuntime: backtrace:
    24. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #00 pc 00000000002ec750 (SpriteShapeUtility_CUSTOM_GenerateSpriteShape_Injected(ScriptingBackendNativeObjectPtrOpaque*, SpriteShapeParameters__ const&, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*) at ??:?)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libunity.so (BuildId: 3f6d658ecaab928a3cdb5be6d333e589cde3d3c1)
    25. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #01 pc 00000000028e1744 (libil2cpp.so not found)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libil2cpp.so (BuildId: 9a16a42240143aa95d9073730aa01c02909f3f24)
    26. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #02 pc 0000000000b285fc (libil2cpp.so not found)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libil2cpp.so (BuildId: 9a16a42240143aa95d9073730aa01c02909f3f24)
    27. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #03 pc 0000000000b2845c (libil2cpp.so not found)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libil2cpp.so (BuildId: 9a16a42240143aa95d9073730aa01c02909f3f24)
    28. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #04 pc 0000000000b4f620 (libil2cpp.so not found)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libil2cpp.so (BuildId: 9a16a42240143aa95d9073730aa01c02909f3f24)
    29. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #05 pc 0000000000b9eb30 (libil2cpp.so not found)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libil2cpp.so (BuildId: 9a16a42240143aa95d9073730aa01c02909f3f24)
    30. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #06 pc 0000000000b4f568 (libil2cpp.so not found)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libil2cpp.so (BuildId: 9a16a42240143aa95d9073730aa01c02909f3f24)
    31. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #07 pc 0000000000b778c8 (libil2cpp.so not found)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libil2cpp.so (BuildId: 9a16a42240143aa95d9073730aa01c02909f3f24)
    32. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #08 pc 0000000000b756dc (libil2cpp.so not found)  /data/app/~~eTJwDinlCC_QV9h1I7NDOg==/com.handelabra.AeonsEnd-Yc01NeN4IOPugjDvpNPi-w==/lib/arm64/libil2cpp.so (BuildId: 9a16a42240143aa95d9073730aa01c02909f3f24)
    33. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #09 pc 00000000000b035c (libc.so not found)  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: b6aff398b016c8d7bec0cccdcc4b9cc6)
    34. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:       #10 pc 0000000000050a94 (libc.so not found)  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: b6aff398b016c8d7bec0cccdcc4b9cc6)
    35. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:
    36. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libunity.0x2ec750 (SpriteShapeUtility_CUSTOM_GenerateSpriteShape_Injected(ScriptingBackendNativeObjectPtrOpaque*, SpriteShapeParameters__ const&, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*) at ??:?)(Native Method)
    37. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libil2cpp.0x28e1744 (libil2cpp.so not found)(Native Method)
    38. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libil2cpp.0xb285fc (libil2cpp.so not found)(Native Method)
    39. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libil2cpp.0xb2845c (libil2cpp.so not found)(Native Method)
    40. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libil2cpp.0xb4f620 (libil2cpp.so not found)(Native Method)
    41. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libil2cpp.0xb9eb30 (libil2cpp.so not found)(Native Method)
    42. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libil2cpp.0xb4f568 (libil2cpp.so not found)(Native Method)
    43. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libil2cpp.0xb778c8 (libil2cpp.so not found)(Native Method)
    44. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libil2cpp.0xb756dc (libil2cpp.so not found)(Native Method)
    45. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libc.__pthread_start(void*)(__pthread_start:64)
    46. 09-08 14:11:15.796 10438 11724 E AndroidRuntime:     at libc.__start_thread(__start_thread:64)
     
  8. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    I'm just looking into this issue, and can see you might be using legacy Analytics and maybe attempting to migrate to UGS Analytics, could you try following this guide and let me know how you get on with it.
     
  9. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    We are using legacy analytics. We're not looking to do that migration at this moment. The game should not be randomly crashing when using legacy analytics, though.
     
  10. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    okay, legacy analytics is a deprecated product the version you upgraded to 4.1.0 and 4.2.0 are for UGS analytics, if you're not using the new UGS Analytics and are still using legacy, which I don't recommend, then you can remove the UGS Analytics package.
     
    Last edited: Sep 9, 2022
  11. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    I didn't intentionally install the new UGS Analytics, it must have automatically gotten installed from the Unity upgrade. We'll look at migrating or removing that package for now.
     
  12. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    Take a look at this guide for further assistance in migrating. If you still need help, then don't hesitate to reach out to our support team.
     
  13. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Even if I downgrade legacy Analytics back to 3.6.12, In App Purchasing has a dependency on the new Analytics 4.1.0 that is bringing it into the project. We have to update In App Purchasing to 4.4.0 because of Google Play requirements. It should not be causing our app to randomly crash when we are not even using the new Analytics.
     
  14. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    I can confirm that the crashes stop if I never log any Legacy Analytics events.

    For migrating, is there a way we can see our total events per month, to get an idea of where we stand within the free limits? Is the events per month threshold across all games, or per game?
     
  15. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Also regarding migrating, it seems that custom events have to be manually created in the dashboard. For every game. And every environment (dev, beta, production). And every parameter created separately and assigned. This is looking like days and weeks of mindless clicking to migrate our custom events over to the new system. Please tell me there's a migration tool or something for this. There's no way I'm spending my time to do this manually.
     
  16. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    Custom events that have been created in the Legacy solution are not automatically brought over to Analytics due to the free-form nature of the events and will require some steps to be redefined in the new system.
     
  17. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
  18. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    I understand that, it's what I said. "Some steps" is a ton of manual work on the part of me and every other game developer. Let's do some math.

    We have 5 games using Unity Analytics (Legacy). Each one has between 50-150 custom events, let's say 100 on average. Many of them don't use parameters, but several do, and sometimes a bunch, so let's say 50 unique parameters per game.

    Suppose it takes a minute to add a custom event, and a minute to add a parameter. We'll ignore the convoluted UX to add parameters to events, and assume we don't make any mistakes. That's 2.5 hours per game of repetitive manual data entry. But wait, we have environments, and you have to add the events per environment. That makes it about 6 hours per game of repetitive manual data entry. So an entire work-week of manual data entry for us to migrate our games to the new system.

    Multiply that by hundreds or thousands of developers who are in this situation. Unity should provide a migration tool (or hell, even an API so we can do it ourselves) to save thousands of hours of needless busywork.

    Add to that, our game is constantly crashing because of the forced inclusion of the new analytics system when we don't even use it, and you have indicated no interest in fixing that problem whatsoever, only suggesting we migrate to the new system.

    I'm beginning to understand why another poster said "it's basically anti-humanity."
     
  19. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Last edited: Sep 14, 2022
  20. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    You can indeed see your total usage on the Cost and Usage Reporting Tab
    upload_2022-9-14_16-2-23.png

    Found under Projects > Cost and Usage Reporting.
     
  21. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    I am currently finding this information out for you, but I do believe this is a feature worthy request which could be considered high priority, or it is a feature already on the roadmap, but I will get back to you with confirmation.
     
  22. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Ok, that shows me 57 events for the last 90 days. Which is clearly not including the events recorded from Legacy Analytics, which is the number I need to know in order to have an idea how many events will be happening in the new analytics.

    To make it exceedingly clear: how can I find out how many custom events my games are recording in Legacy Analytics, in total? Because that's how many they will be recording in the new analytics if we migrate (plus whatever standard events are happening).
     
  23. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Thank you!
     
  24. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    Surrounding the difficult nature of migrating so many events it might be worthwhile to hold off on the upgrade for now as we are already discussing the options to offer such a tool to help assist with migration of custom events. However, this tool doesn't have an ETA just yet but likely to come to fruition in Q4.


    I don't actually have access to Legacy Analytics as it now deprecated, however you should be able to navigate to Legacy Analytics > Data Explorer and be able to see the custom events there.
     
  25. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Ok, thanks. Google Play has a requirement for Play Billing Library v4 as of November 1, and Unity In App Purchasing devs have stated they will not be supporting v4 in older versions of the package. The package now has a dependency on Unity Analytics, and is causing our game to randomly crash. So can you now look at investigating the crashes coming from the Unity Analytics library that we are not actually using?

    That only shows events one by one. I need to know the full scope across all the events. It looks like maybe I can find what I want with raw data export, I'll try that.
     
  26. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    Do you have any recent crash logs? I do however recommend you take this to a new thread so not to clutter this one.

    I'm glad we have come to a resolution with this.
     
  27. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    This thread is about crashing, so I'm not sure why it would need a new thread to post more crash logs. I made a new build with the following characteristics:

    - Unity 2021.3.9f1
    - Analytics 4.2.0
    - Legacy Analytics 3.6.12
    - In App Purchasing 4.4.1
    - Built with Unity Cloud Build

    In this build, I'm initializing Unity Game Services. Custom events are being logged to Legacy Analytics but not to the new Analytics.

    It's crashing at seemingly random points, on all platforms (windows, macOS, android). Logs are here: https://www.dropbox.com/sh/a9x0vh9ib5aejga/AAB27eJkAawiS8j8n4j91XnRa?dl=0
     
  28. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    Can you confirm how you are sending Custom Events?
     
  29. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    Using the methods in the Analytics API:

    Code (CSharp):
    1. var result = Analytics.CustomEvent(name, parameters);
    2.                 if (result != AnalyticsResult.Ok)
    3.                 {
    4.                     Debug.LogWarningFormat("Unity Analytics error: {0}", result);
    5.                 }
    or

    Code (CSharp):
    1. var result = Analytics.CustomEvent(name);
    2.                 if (result != AnalyticsResult.Ok)
    3.                 {
    4.                     Debug.LogWarningFormat("Unity Analytics error: {0}", result);
    5.                 }
     
  30. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    Analytics.CustomEvent

    That appears to be the Legacy Analytics code for sending custom events.

    To send Custom Events to UGS Analytics you need to do this:
    AnalyticsService.Instance.CustomData

    Code (CSharp):
    1. // Send custom event
    2. Dictionary<string, object> parameters = new Dictionary<string, object>()
    3. {
    4.     { "fabulousString", "hello there" },
    5.     { "sparklingInt", 1337 },
    6.     { "spectacularFloat", 0.451f },
    7.     { "peculiarBool", true },
    8. };
    9. // The ‘myEvent’ event will get queued up and sent every minute
    10. AnalyticsService.Instance.CustomData("myEvent", parameters);
    11. // Optional - You can call Events.Flush() to send the event immediately
    12. AnalyticsService.Instance.Flush();
    You can see this and more information in the documentation: Record Custom Events (unity.com)
     
  31. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    119
    I'm aware of all of that. As I said: "In this build, I'm initializing Unity Game Services. Custom events are being logged to Legacy Analytics but not to the new Analytics."

    As discussed earlier in this thread, manual migration of our custom events to UGS analytics is not something we're looking to do at this time. We want to move to Unity 2021 and have our game not randomly crash all the time. Is that something you're interested in helping with?