Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Possible Bug? Addressables in 2019.3

Discussion in 'Addressables' started by webjeff, Dec 10, 2019.

  1. webjeff

    webjeff

    Joined:
    Mar 11, 2015
    Posts:
    39
    This worked in 2018.4, but after using 2019 for some reason Unity is crashing only on Android when I load a local addressable. Seems to crash deep in Unity.

    Here's the crash output:
    Code (CSharp):
    1. E/AndroidRuntime(22288): backtrace:
    2.  
    3. E/AndroidRuntime(22288):       #00 pc 0018878a  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (void mecanim::skeleton::Skeleton::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+282) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    4.  
    5. E/AndroidRuntime(22288):       #01 pc 001868ab  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (void mecanim::animation::AvatarConstant::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+106) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    6.  
    7. E/AndroidRuntime(22288):       #02 pc 00f47987  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (void TransferBlobSerialize<mecanim::animation::AvatarConstant, GenerateTypeTreeTransfer>(mecanim::animation::AvatarConstant*&, char const*, unsigned int&, char const*, GenerateTypeTreeTransfer&)+158) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    8.  
    9. E/AndroidRuntime(22288):       #03 pc 00f47813  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (void Avatar::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+54) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    10.  
    11. E/AndroidRuntime(22288):       #04 pc 00f477c9  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (void GenerateTypeTreeTransfer::Transfer<Avatar>(Avatar&, char const*, TransferMetaFlags)+32) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    12.  
    13. E/AndroidRuntime(22288):       #05 pc 0088d01b  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (TypeTreeCache::GetTypeTree(Object const*, TransferInstructionFlags, TypeTree&)+202) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    14.  
    15. E/AndroidRuntime(22288):       #06 pc 008866dd  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (SerializedFile::SerializedType::CompareAgainstNewType(Object&, dynamic_array<SerializedFile::SerializedType, 0u>&, TransferInstructionFlags)+44) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    16.  
    17. E/AndroidRuntime(22288):       #07 pc 008888eb  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&)+98) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    18.  
    19. E/AndroidRuntime(22288):       #08 pc 0087de55  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)+212) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    20.  
    21. E/AndroidRuntime(22288):       #09 pc 0087dfa3  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (PersistentManager::LoadObjectsThreaded(int const*, int, LoadProgress&, bool, PersistentManager::LockFlags)+266) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    22.  
    23. E/AndroidRuntime(22288):       #10 pc 006b8b6d  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (LoadOperation::Perform()+140) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    24.  
    25. E/AndroidRuntime(22288):       #11 pc 0021ef67  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (AssetBundleLoadAssetOperation::Perform()+438) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    26.  
    27. E/AndroidRuntime(22288):       #12 pc 006ba6df  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (PreloadManager::ProcessSingleOperation()+38) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)
    28.  
    29. E/AndroidRuntime(22288):       #13 pc 006ba5ab  /data/app/co
    30.  
    31. E/AndroidRuntime( 5510): FATAL EXCEPTION: UnityMain
    Any ideas on what the problem might be?

    Thanks!
     
    DelusionStudio and Opeth001 like this.
  2. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    736
    Oh yeah, that's rough. Something about this does spark a memory but I can't quite remember what it is... If you could file a bug with Unity and attach your project to the bug report that'd be a huge help. If you do, please post the case number here as it helps us (the Addressables team) keep track of it a little better.
     
    webjeff likes this.
  3. webjeff

    webjeff

    Joined:
    Mar 11, 2015
    Posts:
    39
    @DavidUnity3d , Unfortunately, this project is quite large... however, I can probably build a smaller sample to submit a build with. Let me see if I can do that. I'll post the case number here too.

    Thanks!
     
    davidla_unity likes this.
  4. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    1,098
    I’m having the same issue.
    Do you have crashes on 64bit devices too ?
    In my case in 64bit devices it works like a charm but crashes for 32bit.
     
  5. chris_vbw

    chris_vbw

    Joined:
    Nov 7, 2019
    Posts:
    3
    I just was able to reproduce the same error on a build for Oculus Quest. I filed a bug report: https://fogbugz.unity3d.com/default.asp?1205217_rja1onpgi3l724r0. I hope someone could have a look someday soon. We are quite depending on that feature. Thaanks a lot!

    My log output:
    12-13 10:01:42.551 8166 8249 E mono-rt : =================================================================
    12-13 10:01:42.551 8166 8249 E mono-rt : Got a SIGSEGV while executing native code. This usually indicates
    12-13 10:01:42.551 8166 8249 E mono-rt : a fatal error in the mono runtime or one of the native libraries
    12-13 10:01:42.551 8166 8249 E mono-rt : used by your application.
    12-13 10:01:42.551 8166 8249 E mono-rt : =================================================================
    12-13 10:01:42.551 8166 8249 E mono-rt :
    12-13 10:01:42.563 8166 8249 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    12-13 10:01:42.563 8166 8249 E CRASH : Version '2019.3.0f3 (6c9e2bfd6f81)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
    12-13 10:01:42.563 8166 8249 E CRASH : Build fingerprint: 'oculus/vr_monterey/monterey:7.1.1/NGI77B/434260.5030.0:user/release-keys'
    12-13 10:01:42.563 8166 8249 E CRASH : Revision: '0'
    12-13 10:01:42.563 8166 8249 E CRASH : ABI: 'arm'
    12-13 10:01:42.563 8166 8249 E CRASH : Timestamp: 2019-12-13 10:01:42+0100
    12-13 10:01:42.563 8166 8249 E CRASH : pid: 8166, tid: 8249, name: Loading.Preload >>> com.DefaultCompany.Addressables <<<
    12-13 10:01:42.563 8166 8249 E CRASH : uid: 10078
    12-13 10:01:42.563 8166 8249 E CRASH : signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xd8acf168
    12-13 10:01:42.563 8166 8249 E CRASH : r0 d8acf168 r1 d8acf158 r2 e4ce81f8 r3 da178eb0
    12-13 10:01:42.563 8166 8249 E CRASH : r4 d8acf4a0 r5 da174228 r6 d8acf200 r7 d8acf158
    12-13 10:01:42.563 8166 8249 E CRASH : r8 da3519c9 r9 f632d008 r10 00000000 r11 da17422e
    12-13 10:01:42.563 8166 8249 E CRASH : ip 80000000 sp d8acf140 lr d95b4679 pc d8ea47d2
    12-13 10:01:42.563 8166 8249 E CRASH :
    12-13 10:01:42.563 8166 8249 E CRASH : backtrace:
    12-13 10:01:42.563 8166 8249 E CRASH : #00 pc 001887d2 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void mecanim::skeleton::Skeleton::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+282) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #01 pc 001868f3 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void mecanim::animation::AvatarConstant::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+106) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #02 pc 00f4c2ff /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void TransferBlobSerialize<mecanim::animation::AvatarConstant, GenerateTypeTreeTransfer>(mecanim::animation::AvatarConstant*&, char const*, unsigned int&, char const*, GenerateTypeTreeTransfer&)+158) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #03 pc 00f4c18b /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void Avatar::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+54) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #04 pc 00f4c141 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void GenerateTypeTreeTransfer::Transfer<Avatar>(Avatar&, char const*, TransferMetaFlags)+32) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #05 pc 008904eb /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (TypeTreeCache::GetTypeTree(Object const*, TransferInstructionFlags, TypeTree&)+202) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #06 pc 00889c1d /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (SerializedFile::SerializedType::CompareAgainstNewType(Object&, dynamic_array<SerializedFile::SerializedType, 0u>&, TransferInstructionFlags)+44) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #07 pc 0088bdbb /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&)+98) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #08 pc 00881415 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)+212) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.563 8166 8249 E CRASH : #09 pc 00881563 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PersistentManager::LoadObjectsThreaded(int const*, int, LoadProgress&, bool, PersistentManager::LockFlags)+266) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.564 8166 8249 E CRASH : #10 pc 006bbd0d /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (LoadOperation::perform()+140) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.564 8166 8249 E CRASH : #11 pc 0021efcf /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (AssetBundleLoadAssetOperation::perform()+438) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.564 8166 8249 E CRASH : #12 pc 006bd917 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::processSingleOperation()+38) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.564 8166 8249 E CRASH : #13 pc 006bd7e3 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::Run()+94) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.564 8166 8249 E CRASH : #14 pc 006bd76f /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::Run(void*)+22) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.564 8166 8249 E CRASH : #15 pc 007e5b0f /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (Thread::RunThreadWrapper(void*)+342) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.564 8166 8249 E CRASH : #16 pc 00047d83 /system/lib/libc.so (__pthread_start(void*)+22) (BuildId: ea718846ad36e51a614ac645ba57f9bc)
    12-13 10:01:42.564 8166 8249 E CRASH : #17 pc 0001a035 /system/lib/libc.so (__start_thread+6) (BuildId: ea718846ad36e51a614ac645ba57f9bc)
    12-13 10:01:42.780 8166 8184 E CRASH : other thread is trapped; signum = 7
    --------- beginning of crash
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: FATAL EXCEPTION: UnityMain
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Process: com.DefaultCompany.Addressables, PID: 8166
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: java.lang.Error: FATAL EXCEPTION [UnityMain]
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Unity version : 2019.3.0f3
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Device model : Oculus Quest
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Device fingerprint: oculus/vr_monterey/monterey:7.1.1/NGI77B/434260.5030.0:user/release-keys
    12-13 10:01:42.781 8166 8184 E AndroidRuntime:
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Caused by: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Version '2019.3.0f3 (6c9e2bfd6f81)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Build fingerprint: 'oculus/vr_monterey/monterey:7.1.1/NGI77B/434260.5030.0:user/release-keys'
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Revision: '0'
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: ABI: 'arm'
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: Timestamp: 2019-12-13 10:01:42+0100
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: pid: 8166, tid: 8249, name: Loading.Preload >>> com.DefaultCompany.Addressables <<<
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: uid: 10078
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xd8acf168
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: r0 d8acf168 r1 d8acf158 r2 e4ce81f8 r3 da178eb0
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: r4 d8acf4a0 r5 da174228 r6 d8acf200 r7 d8acf158
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: r8 da3519c9 r9 f632d008 r10 00000000 r11 da17422e
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: ip 80000000 sp d8acf140 lr d95b4679 pc d8ea47d2
    12-13 10:01:42.781 8166 8184 E AndroidRuntime:
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: backtrace:
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #00 pc 001887d2 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void mecanim::skeleton::Skeleton::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+282) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #01 pc 001868f3 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void mecanim::animation::AvatarConstant::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+106) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #02 pc 00f4c2ff /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void TransferBlobSerialize<mecanim::animation::AvatarConstant, GenerateTypeTreeTransfer>(mecanim::animation::AvatarConstant*&, char const*, unsigned int&, char const*, GenerateTypeTreeTransfer&)+158) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #03 pc 00f4c18b /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void Avatar::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+54) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #04 pc 00f4c141 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void GenerateTypeTreeTransfer::Transfer<Avatar>(Avatar&, char const*, TransferMetaFlags)+32) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #05 pc 008904eb /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (TypeTreeCache::GetTypeTree(Object const*, TransferInstructionFlags, TypeTree&)+202) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #06 pc 00889c1d /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (SerializedFile::SerializedType::CompareAgainstNewType(Object&, dynamic_array<SerializedFile::SerializedType, 0u>&, TransferInstructionFlags)+44) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #07 pc 0088bdbb /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&)+98) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #08 pc 00881415 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)+212) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #09 pc 00881563 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PersistentManager::LoadObjectsThreaded(int const*, int, LoadProgress&, bool, PersistentManager::LockFlags)+266) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #10 pc 006bbd0d /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (LoadOperation::perform()+140) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #11 pc 0021efcf /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (AssetBundleLoadAssetOperation::perform()+438) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #12 pc 006bd917 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::processSingleOperation()+38) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #13 pc 006bd7e3 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::Run()+94) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #14 pc 006bd76f /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::Run(void*)+22) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #15 pc 007e5b0f /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (Thread::RunThreadWrapper(void*)+342) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #16 pc 00047d83 /system/lib/libc.so (__pthread_start(void*)+22) (BuildId: ea718846ad36e51a614ac645ba57f9bc)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: #17 pc 0001a035 /system/lib/libc.so (__start_thread+6) (BuildId: ea718846ad36e51a614ac645ba57f9bc)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime:
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.void mecanim::skeleton::Skeleton::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)(Transfer<GenerateTypeTreeTransfer>:282)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.void mecanim::animation::AvatarConstant::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)(Transfer<GenerateTypeTreeTransfer>:106)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.void TransferBlobSerialize<mecanim::animation::AvatarConstant, GenerateTypeTreeTransfer>(mecanim::animation::AvatarConstant*&, char const*, unsigned int&, char const*, GenerateTypeTreeTransfer&)(AvatarConstant, GenerateTypeTreeTransfer>:158)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.void Avatar::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)(Transfer<GenerateTypeTreeTransfer>:54)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.void GenerateTypeTreeTransfer::Transfer<Avatar>(Avatar&, char const*, TransferMetaFlags)(Transfer<Avatar>:32)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.TypeTreeCache::GetTypeTree(Object const*, TransferInstructionFlags, TypeTree&)(GetTypeTree:202)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.SerializedFile::SerializedType::CompareAgainstNewType(Object&, dynamic_array<SerializedFile::SerializedType, 0u>&, TransferInstructionFlags)(CompareAgainstNewType:44)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&)(ReadObject:98)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)(ReadAndActivateObjectThreaded:212)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.PersistentManager::LoadObjectsThreaded(int const*, int, LoadProgress&, bool, PersistentManager::LockFlags)(LoadObjectsThreaded:266)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.LoadOperation::perform()(Perform:140)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.AssetBundleLoadAssetOperation::perform()(Perform:438)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.PreloadManager::processSingleOperation()(ProcessSingleOperation:38)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.PreloadManager::Run()(Run:94)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.PreloadManager::Run(void*)(Run:22)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.Thread::RunThreadWrapper(void*)(RunThreadWrapper:342)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libc.__pthread_start(void*)(__pthread_start:22)
    12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libc.__start_thread(__start_thread:6)
    12-13 10:01:42.782 8166 8184 D Error : ERR: exClass=java.lang.Error
    12-13 10:01:42.782 8166 8184 D Error : ERR: exMsg=*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    12-13 10:01:42.782 8166 8184 D Error : Version '2019.3.0f3 (6c9e2bfd6f81)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
    12-13 10:01:42.782 8166 8184 D Error : Build fingerprint: 'oculus/vr_monterey/monterey:7.1.1/NGI77B/434260.5030.0:user/release-keys'
    12-13 10:01:42.782 8166 8184 D Error : Revision: '0'
    12-13 10:01:42.782 8166 8184 D Error : ABI: 'arm'
    12-13 10:01:42.782 8166 8184 D Error : Timestamp: 2019-12-13 10:01:42+0100
    12-13 10:01:42.782 8166 8184 D Error : pid: 8166, tid: 8249, name: Loading.Preload >>> com.DefaultCompany.Addressables <<<
    12-13 10:01:42.782 8166 8184 D Error : uid: 10078
    12-13 10:01:42.782 8166 8184 D Error : signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xd8acf168
    12-13 10:01:42.782 8166 8184 D Error : r0 d8acf168 r1 d8acf158 r2 e4ce81f8 r3 da178eb0
    12-13 10:01:42.782 8166 8184 D Error : r4 d8acf4a0 r5 da174228 r6 d8acf200 r7 d8acf158
    12-13 10:01:42.782 8166 8184 D Error : r8 da3519c9 r9 f632d008 r10 00000000 r11 da17422e
    12-13 10:01:42.782 8166 8184 D Error : ip 80000000 sp d8acf140 lr d95b4679 pc d8ea47d2
    12-13 10:01:42.782 8166 8184 D Error :
    12-13 10:01:42.782 8166 8184 D Error : backtrace:
    12-13 10:01:42.782 8166 8184 D Error : #00 pc 001887d2 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void mecanim::skeleton::Skeleton::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+282) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #01 pc 001868f3 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void mecanim::animation::AvatarConstant::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+106) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #02 pc 00f4c2ff /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void TransferBlobSerialize<mecanim::animation::AvatarConstant, GenerateTypeTreeTransfer>(mecanim::animation::AvatarConstant*&, char const*, unsigned int&, char const*, GenerateTypeTreeTransfer&)+158) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #03 pc 00f4c18b /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void Avatar::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+54) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #04 pc 00f4c141 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void GenerateTypeTreeTransfer::Transfer<Avatar>(Avatar&, char const*, TransferMetaFlags)+32) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #05 pc 008904eb /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (TypeTreeCache::GetTypeTree(Object const*, TransferInstructionFlags, TypeTree&)+202) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #06 pc 00889c1d /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (SerializedFile::SerializedType::CompareAgainstNewType(Object&, dynamic_array<SerializedFile::SerializedType, 0u>&, TransferInstructionFlags)+44) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #07 pc 0088bdbb /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&)+98) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #08 pc 00881415 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)+212) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #09 pc 00881563 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PersistentManager::LoadObjectsThreaded(int const*, int, LoadProgress&, bool, PersistentManager::LockFlags)+266) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #10 pc 006bbd0d /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (LoadOperation::perform()+140) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #11 pc 0021efcf /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (AssetBundleLoadAssetOperation::perform()+438) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #12 pc 006bd917 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::processSingleOperation()+38) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #13 pc 006bd7e3 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::Run()+94) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #14 pc 006bd76f /data/app/
    12-13 10:01:42.782 8166 8184 D Error : ERR: file=Transfer<GenerateTypeTreeTransfer>
    12-13 10:01:42.782 8166 8184 D Error : ERR: class=libunity
    12-13 10:01:42.782 8166 8184 D Error : ERR: method=void mecanim::skeleton::Skeleton::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&) line=282
    12-13 10:01:42.782 8166 8184 D Error : ERR: stack=java.lang.Error: FATAL EXCEPTION [UnityMain]
    12-13 10:01:42.782 8166 8184 D Error : Unity version : 2019.3.0f3
    12-13 10:01:42.782 8166 8184 D Error : Device model : Oculus Quest
    12-13 10:01:42.782 8166 8184 D Error : Device fingerprint: oculus/vr_monterey/monterey:7.1.1/NGI77B/434260.5030.0:user/release-keys
    12-13 10:01:42.782 8166 8184 D Error :
    12-13 10:01:42.782 8166 8184 D Error : Caused by: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    12-13 10:01:42.782 8166 8184 D Error : Version '2019.3.0f3 (6c9e2bfd6f81)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
    12-13 10:01:42.782 8166 8184 D Error : Build fingerprint: 'oculus/vr_monterey/monterey:7.1.1/NGI77B/434260.5030.0:user/release-keys'
    12-13 10:01:42.782 8166 8184 D Error : Revision: '0'
    12-13 10:01:42.782 8166 8184 D Error : ABI: 'arm'
    12-13 10:01:42.782 8166 8184 D Error : Timestamp: 2019-12-13 10:01:42+0100
    12-13 10:01:42.782 8166 8184 D Error : pid: 8166, tid: 8249, name: Loading.Preload >>> com.DefaultCompany.Addressables <<<
    12-13 10:01:42.782 8166 8184 D Error : uid: 10078
    12-13 10:01:42.782 8166 8184 D Error : signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xd8acf168
    12-13 10:01:42.782 8166 8184 D Error : r0 d8acf168 r1 d8acf158 r2 e4ce81f8 r3 da178eb0
    12-13 10:01:42.782 8166 8184 D Error : r4 d8acf4a0 r5 da174228 r6 d8acf200 r7 d8acf158
    12-13 10:01:42.782 8166 8184 D Error : r8 da3519c9 r9 f632d008 r10 00000000 r11 da17422e
    12-13 10:01:42.782 8166 8184 D Error : ip 80000000 sp d8acf140 lr d95b4679 pc d8ea47d2
    12-13 10:01:42.782 8166 8184 D Error :
    12-13 10:01:42.782 8166 8184 D Error : backtrace:
    12-13 10:01:42.782 8166 8184 D Error : #00 pc 001887d2 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void mecanim::skeleton::Skeleton::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+282) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #01 pc 001868f3 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void mecanim::animation::AvatarConstant::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+106) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #02 pc 00f4c2ff /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void TransferBlobSerialize<mecanim::animation::AvatarConstant, GenerateTypeTreeTransfer>(mecanim::animation::AvatarConstant*&, char const*, unsigned int&, char const*, GenerateTypeTreeTransfer&)+158) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #03 pc 00f4c18b /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void Avatar::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+54) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #04 pc 00f4c141 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (void GenerateTypeTreeTransfer::Transfer<Avatar>(Avatar&, char const*, TransferMetaFlags)+32) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #05 pc 008904eb /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (TypeTreeCache::GetTypeTree(Object const*, TransferInstructionFlags, TypeTree&)+202) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #06 pc 00889c1d /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (SerializedFile::SerializedType::CompareAgainstNewType(Object&, dynamic_array<SerializedFile::SerializedType, 0u>&, TransferInstructionFlags)+44) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #07 pc 0088bdbb /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&)+98) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #08 pc 00881415 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)+212) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #09 pc 00881563 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PersistentManager::LoadObjectsThreaded(int const*, int, LoadProgress&, bool, PersistentManager::LockFlags)+266) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #10 pc 006bbd0d /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (LoadOperation::perform()+140) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #11 pc 0021efcf /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (AssetBundleLoadAssetOperation::perform()+438) (BuildId: 3ef58ba43799a0dd8adf9d4528a307f2568f4d5c)
    12-13 10:01:42.782 8166 8184 D Error : #12 pc 006bd917 /data/app/com.DefaultCompany.Addressables-2/lib/arm/libunity.so (PreloadManager::processSingleOperation()+38) (BuildId: 3ef58ba437
    12-13 10:01:42.782 8166 8184 D Error : ERR: TOTAL BYTES WRITTEN: 23188
     
  6. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    1,098
    does the asset you are trying to load is a Character or anything with an animator ??
    and are you using a 32bit device ?

    in our case it's crashing only when we try loading something having an animator component and only in 32bit devices.
     
  7. Sevenish

    Sevenish

    Joined:
    Jul 14, 2018
    Posts:
    1
    Yeah having the same issue. Made the switch to IL2CPP and 64bit and it doesn't happen there, thanks for the tip @Opeth001 . It is a character with a humanoid avatar and animator too.
     
  8. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    1,098
    the problem is comming from the Avatar asset, what we did as a workaround is just load the Character and then set the Avatar at runtime. this works on all devices i tested.
    Google luck! ;)
     
  9. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    736
    Hey all, just wanted to post in here that I've found out recently there is an issue with Avatar serialization in the engine. Sadly, there's nothing that my team or I are able to do about this and the fix will come in the way of a new Editor release. Hopefully the workaround @Opeth001 provided will work for anyone running into this issue.
     
  10. chris_vbw

    chris_vbw

    Joined:
    Nov 7, 2019
    Posts:
    3
    Thanks a lot @DavidUnity3d! You know how and when this new Editor update will be released?
     
  11. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    736
    No problem at all. @chris_vbw unfortunately I do not. You may be able to find more information on the Animation forum https://forum.unity.com/forums/animation.52/ but I can't promise anything. All I know is that the team is aware of the issue. I have no idea what state the fix is currently in.
     
  12. DelusionStudio

    DelusionStudio

    Joined:
    Dec 27, 2013
    Posts:
    5
    hi @DavidUnity3d.
    I reported issue (Case 1206809) with reproducable project.
    Please check it.

    I think it related serialization(loading) under AssetBundle in Android.

    when FBX attached in Scene's Hierarchy, it works fine.
     
  13. RobbyZ

    RobbyZ

    Joined:
    Apr 17, 2015
    Posts:
    38
    I am having an animation loading crash on PS4 (Unity 2018.4.2f1) that has a similar callstack to the ones above. I've posted the stack, logs, and crash dump on the PS4 forums under the topic "Mecanim Crash on Addressable Additive Scene Load."
     
  14. sophiepeithos

    sophiepeithos

    Joined:
    Sep 10, 2014
    Posts:
    59
  15. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    736
    RobbyZ and sxnorthrop like this.
  16. sophiepeithos

    sophiepeithos

    Joined:
    Sep 10, 2014
    Posts:
    59
    @DavidUnity3d, i did a test on 2019.3.0f5, problem solved!
     
    davidla_unity likes this.
  17. webjeff

    webjeff

    Joined:
    Mar 11, 2015
    Posts:
    39
    @DavidUnity3d Yep, 2019.3.0f5 fixed the problem for me! Thanks for your help!!
     
    davidla_unity likes this.
  18. RobbyZ

    RobbyZ

    Joined:
    Apr 17, 2015
    Posts:
    38
    Any chance of a backport to 2018LTS?
     
  19. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    736
    @RobbyZ I'll have to ask the animation team
     
    RobbyZ likes this.
  20. RobbyZ

    RobbyZ

    Joined:
    Apr 17, 2015
    Posts:
    38
    Thank you! This fix may unblock us from being able to use addressables on PS4, so a backport would be awesome
     
    Last edited: Jan 21, 2020
    davidla_unity likes this.
  21. ashraf_unity960

    ashraf_unity960

    Joined:
    Feb 2, 2020
    Posts:
    1
    Hello Everyone, We are facing a crash on our android build on some of the devices(mostly Samsung). We weren't able to repro it in house. 58 % of the crashes happening from Android 9 devices. We have asset bundle enabled and our assets have Animator component attached.
    Our Unity version is 2019.2.21f. The error message we are getting in crashlytics is a symbol file name (libunity). Upon de-symbolicate we get this stack trace:

    Code (CSharp):
    1. YGNodelayoutImpl(YGNode*, float, float, YGDirection, YGMeasureMode, YGMeasureMode, float, float, = bool, YGConfig*)
    2. AudioSource_Get_Custom_PropIsVirtual(ScriptingBackendNativeObjectPtrOpaque*)
    3. void Animator::Transfer<SafeBinaryRead>(SafeBinaryRead&)
    Is the error related to this forum thread? Any help will be truly appreciated. Trying to solve this issue for weeks, but couldn't find any solution as of now.