@Stephan_B hoping to get your eyes on this as it seems to be related to TextMesh Pro.
Iβm having an issue where the built iOS app will crash with Exception Type: EXC_CRASH (SIGABRT) if I have a scene with a canvas containing a TextMesh Pro UGUI component. Removing the text component, the scene will load fine without any problems. I have reported this with case # 1153191.
Weirdly this only happens intermittently when doing a local build, but happens always with a build from Unity Cloud Build.
Any help with this issue would be much appreciated.
Log
Thread 32 name: Loading.PreloadManager
Thread 32 Crashed:
0 libsystem_kernel.dylib 0x00000001c753d0e4 __pthread_kill + 8
1 libsystem_c.dylib 0x00000001c7493fcc abort + 144
2 libc++abi.dylib 0x00000001c6b93818 __cxa_bad_cast + 0
3 libc++abi.dylib 0x00000001c6b939d8 default_unexpected_handler+ 6616 () + 0
4 libobjc.A.dylib 0x00000001c6bac6d8 _objc_terminate+ 26328 () + 140
5 libc++abi.dylib 0x00000001c6ba02d0 std::__terminate(void (*)+ 58064 ()) + 20
6 libc++abi.dylib 0x00000001c6b9fbf8 __cxxabiv1::exception_cleanup_func+ 56312 (_Unwind_Reason_Code, _Unwind_Exception*) + 0
7 xxxxxxxxxxxxxxx 0x0000000105eadd50 il2cpp::vm::Exception::RaiseOutOfMemoryException(Il2CppSequencePoint*) + 17112400 (Exception.cpp:70)
8 xxxxxxxxxxxxxxx 0x0000000105ea16a4 il2cpp::vm::Array::NewSpecific(Il2CppClass*, unsigned long) + 17061540 (Array.cpp:111)
9 xxxxxxxxxxxxxxx 0x00000001057f8494 scripting_array_new(ScriptingClassPtr, unsigned long, unsigned long) + 10077332 (ScriptingApi_Il2Cpp.cpp:546)
10 xxxxxxxxxxxxxxx 0x00000001050a0ba0 SerializeTraits<ArrayOfManagedObjectsTransferer>::ResizeSTLStyleArray(ArrayOfManagedObjectsTransferer&, int) + 2378656 (ManagedObject.h:168)
11 xxxxxxxxxxxxxxx 0x000000010581bd90 void StreamedBinaryRead::TransferSTLStyleArray<ArrayOfManagedObjectsTransferer>(ArrayOfManagedObjectsTransferer&, TransferMetaFlags) + 10222992 (StreamedBinaryRead.h:82)
12 xxxxxxxxxxxxxxx 0x0000000105818188 void Transfer_ManagedObject<StreamedBinaryRead, true>(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&) + 10207624 (ManagedObject.h:237)
13 xxxxxxxxxxxxxxx 0x0000000105817f04 void TransferField_LinearCollection<StreamedBinaryRead>(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&) + 10206980 (InitializeTransferFunctionScriptingTraits.h:72)
14 xxxxxxxxxxxxxxx 0x000000010581bd10 void ExecuteSerializationCommands<StreamedBinaryRead>(SerializationCommandProvider&, StreamedBinaryRead&, GeneralMonoObject const&) + 10222864 (SerializationCommands.h:117)
15 xxxxxxxxxxxxxxx 0x0000000105814f88 void TransferScriptingObject<StreamedBinaryRead>(StreamedBinaryRead&, ScriptingObjectPtr, ScriptingClassPtr, SerializationCache::smile:ata*&) + 10194824 (TransferScriptingObjectImpl.h:133)
16 xxxxxxxxxxxxxxx 0x00000001058092ac ManagedObjectHostTransferRedirect<MonoBehaviour>::Transfer(MonoBehaviour&, StreamedBinaryRead&) + 10146476 (ManagedObjectHostTransferRedirect.h:202)
17 xxxxxxxxxxxxxxx 0x000000010584e4d8 SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&) + 10429656 (SerializedFile.cpp:2207)
18 xxxxxxxxxxxxxxx 0x000000010583e490 PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags) + 10364048 (PersistentManager.cpp:0)
19 xxxxxxxxxxxxxxx 0x000000010583ebfc PersistentManager::LoadFileCompletelyThreaded(core::basic_string<char, core::StringStorageDefault<char> > const&, long long*, int*, int, PersistentManager::LoadFlags, LoadProgress&, PersistentManager::LockFlags) + 10365948 (PersistentManager.cpp:0)
20 xxxxxxxxxxxxxxx 0x00000001055f74d4 LoadSceneOperation::Perform() + 7976148 (LoadSceneOperation.cpp:140)
21 xxxxxxxxxxxxxxx 0x00000001055f9370 PreloadManager::ProcessSingleOperation() + 7983984 (Profiler.h:519)
22 xxxxxxxxxxxxxxx 0x00000001055f90ec PreloadManager::Run() + 7983340 (PreloadManager.cpp:316)
23 xxxxxxxxxxxxxxx 0x00000001055f9088 PreloadManager::Run(void*) + 7983240 (PreloadManager.cpp:177)
24 xxxxxxxxxxxxxxx 0x0000000105690fc0 Thread::RunThreadWrapper(void*) + 8605632 (Thread.cpp:87)
25 libsystem_pthread.dylib 0x00000001c75b3974 _pthread_body + 132
26 libsystem_pthread.dylib 0x00000001c75b38d0 _pthread_start + 52
27 libsystem_pthread.dylib 0x00000001c75bbddc thread_start + 4