Possible Bug? Addressables in 2019.3

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:

E/AndroidRuntime(22288): backtrace:

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)

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)

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)

E/AndroidRuntime(22288):       #03 pc 00f47813  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (void Avatar::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)+54) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)

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)

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)

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)

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)

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)

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)

E/AndroidRuntime(22288):       #10 pc 006b8b6d  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (LoadOperation::Perform()+140) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)

E/AndroidRuntime(22288):       #11 pc 0021ef67  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (AssetBundleLoadAssetOperation::Perform()+438) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)

E/AndroidRuntime(22288):       #12 pc 006ba6df  /data/app/com.evinteractive.acpdoj-1/lib/arm/libunity.so (PreloadManager::ProcessSingleOperation()+38) (BuildId: d3f1422b12e7b495098bf6d78d84e88d3a391d1e)

E/AndroidRuntime(22288):       #13 pc 006ba5ab  /data/app/co

E/AndroidRuntime( 5510): FATAL EXCEPTION: UnityMain

Any ideas on what the problem might be?

Thanks!

2 Likes

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.

1 Like

@davidla_unity , 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!

1 Like

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.

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&)+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&)+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*&, 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&)+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&, 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&, 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&)+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&)+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*&, 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&)+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&, 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&, 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&)(Transfer:282)
12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.void mecanim::animation::AvatarConstant::Transfer(GenerateTypeTreeTransfer&)(Transfer:106)
12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.void TransferBlobSerialize(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&)(Transfer:54)
12-13 10:01:42.781 8166 8184 E AndroidRuntime: at libunity.void GenerateTypeTreeTransfer::Transfer(Avatar&, char const*, TransferMetaFlags)(Transfer: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&, 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&)+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&)+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*&, 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&)+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&, 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&, 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
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&) 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&)+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&)+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*&, 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&)+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&, 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&, 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

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.

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.


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! ;)

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.

Thanks a lot @davidla_unity ! You know how and when this new Editor update will be released?

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.

hi @davidla_unity .
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.

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."

@davidla_unity how is this problem going?

Hey @sophiepeithos the status of that bug internally is marked as fixed by the animation team. I found their issue tracker for it. https://issuetracker.unity3d.com/issues/oculus-quest-oculus-go-addressables-app-crashes-when-loading-animated-mesh-data-from-asset-bundle

If you keep running into it feel free to ping us here but since that's an animation thing you'll probably have luck over on the Animation forums.

2 Likes

@davidla_unity , i did a test on 2019.3.0f5, problem solved!

1 Like

@davidla_unity Yep, 2019.3.0f5 fixed the problem for me! Thanks for your help!!

1 Like

Any chance of a backport to 2018LTS?

@RobbyZ I'll have to ask the animation team

1 Like

Thank you! This fix may unblock us from being able to use addressables on PS4, so a backport would be awesome

1 Like