Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    Dismiss Notice

TextMesh Pro iOS app crash when using TextMeshPro UGUI in scene (case 1153191)

Discussion in 'Unity UI (uGUI) & TextMesh Pro' started by steego, May 23, 2019.

  1. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    895
    @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.


    Code (csharp):
    1.  
    2. Thread 32 name:  Loading.PreloadManager
    3. Thread 32 Crashed:
    4. 0   libsystem_kernel.dylib            0x00000001c753d0e4 __pthread_kill + 8
    5. 1   libsystem_c.dylib                0x00000001c7493fcc abort + 144
    6. 2   libc++abi.dylib                  0x00000001c6b93818 __cxa_bad_cast + 0
    7. 3   libc++abi.dylib                  0x00000001c6b939d8 default_unexpected_handler+ 6616 () + 0
    8. 4   libobjc.A.dylib                  0x00000001c6bac6d8 _objc_terminate+ 26328 () + 140
    9. 5   libc++abi.dylib                  0x00000001c6ba02d0 std::__terminate(void (*)+ 58064 ()) + 20
    10. 6   libc++abi.dylib                  0x00000001c6b9fbf8 __cxxabiv1::exception_cleanup_func+ 56312 (_Unwind_Reason_Code, _Unwind_Exception*) + 0
    11. 7   xxxxxxxxxxxxxxx                  0x0000000105eadd50 il2cpp::vm::Exception::RaiseOutOfMemoryException(Il2CppSequencePoint*) + 17112400 (Exception.cpp:70)
    12. 8   xxxxxxxxxxxxxxx                  0x0000000105ea16a4 il2cpp::vm::Array::NewSpecific(Il2CppClass*, unsigned long) + 17061540 (Array.cpp:111)
    13. 9   xxxxxxxxxxxxxxx                  0x00000001057f8494 scripting_array_new(ScriptingClassPtr, unsigned long, unsigned long) + 10077332 (ScriptingApi_Il2Cpp.cpp:546)
    14. 10  xxxxxxxxxxxxxxx                  0x00000001050a0ba0 SerializeTraits<ArrayOfManagedObjectsTransferer>::ResizeSTLStyleArray(ArrayOfManagedObjectsTransferer&, int) + 2378656 (ManagedObject.h:168)
    15. 11  xxxxxxxxxxxxxxx                  0x000000010581bd90 void StreamedBinaryRead::TransferSTLStyleArray<ArrayOfManagedObjectsTransferer>(ArrayOfManagedObjectsTransferer&, TransferMetaFlags) + 10222992 (StreamedBinaryRead.h:82)
    16. 12  xxxxxxxxxxxxxxx                  0x0000000105818188 void Transfer_ManagedObject<StreamedBinaryRead, true>(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&) + 10207624 (ManagedObject.h:237)
    17. 13  xxxxxxxxxxxxxxx                  0x0000000105817f04 void TransferField_LinearCollection<StreamedBinaryRead>(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&) + 10206980 (InitializeTransferFunctionScriptingTraits.h:72)
    18. 14  xxxxxxxxxxxxxxx                  0x000000010581bd10 void ExecuteSerializationCommands<StreamedBinaryRead>(SerializationCommandProvider&, StreamedBinaryRead&, GeneralMonoObject const&) + 10222864 (SerializationCommands.h:117)
    19. 15  xxxxxxxxxxxxxxx                  0x0000000105814f88 void TransferScriptingObject<StreamedBinaryRead>(StreamedBinaryRead&, ScriptingObjectPtr, ScriptingClassPtr, SerializationCache::Data*&) + 10194824 (TransferScriptingObjectImpl.h:133)
    20. 16  xxxxxxxxxxxxxxx                  0x00000001058092ac ManagedObjectHostTransferRedirect<MonoBehaviour>::Transfer(MonoBehaviour&, StreamedBinaryRead&) + 10146476 (ManagedObjectHostTransferRedirect.h:202)
    21. 17  xxxxxxxxxxxxxxx                  0x000000010584e4d8 SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&) + 10429656 (SerializedFile.cpp:2207)
    22. 18  xxxxxxxxxxxxxxx                  0x000000010583e490 PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags) + 10364048 (PersistentManager.cpp:0)
    23. 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)
    24. 20  xxxxxxxxxxxxxxx                  0x00000001055f74d4 LoadSceneOperation::Perform() + 7976148 (LoadSceneOperation.cpp:140)
    25. 21  xxxxxxxxxxxxxxx                  0x00000001055f9370 PreloadManager::ProcessSingleOperation() + 7983984 (Profiler.h:519)
    26. 22  xxxxxxxxxxxxxxx                  0x00000001055f90ec PreloadManager::Run() + 7983340 (PreloadManager.cpp:316)
    27. 23  xxxxxxxxxxxxxxx                  0x00000001055f9088 PreloadManager::Run(void*) + 7983240 (PreloadManager.cpp:177)
    28. 24  xxxxxxxxxxxxxxx                  0x0000000105690fc0 Thread::RunThreadWrapper(void*) + 8605632 (Thread.cpp:87)
    29. 25  libsystem_pthread.dylib          0x00000001c75b3974 _pthread_body + 132
    30. 26  libsystem_pthread.dylib          0x00000001c75b38d0 _pthread_start + 52
    31. 27  libsystem_pthread.dylib          0x00000001c75bbddc thread_start + 4
    32.  
     
  2. -Aymeric-

    -Aymeric-

    Joined:
    Oct 21, 2014
    Posts:
    101
    Hey @steego do you use the latest version of TM Pro? I remember I had this issue with an old version, updating TMP Pro remove it.
     
  3. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    895
    @-Aymeric- thanks for the suggestion, but this is with the latest version, 2.0.1, using Unity 2019.1.
     
  4. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    2,806
    I'll try taking a look at the case tomorrow.
     
    steego likes this.
  5. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    895
    Did you have a chance to take a look?