Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  6. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

il2cpp builds crash in Unity 2018.3 RC1 when TextMeshPro is used

Discussion in 'Unity UI & TextMesh Pro' started by patrykk, Dec 8, 2018.

  1. patrykk

    patrykk

    Joined:
    May 20, 2017
    Posts:
    9
    Hi,
    I'm having lots of problems when trying to build my game with il2cpp framework, when I use tmpro.

    Any standalone build configuration, as long as it's il2cpp, crashes immediately when ran, and gives the following errors:

    ========== OUTPUTTING STACK TRACE ==================

    0x00007FFCA8BEB848 (GameAssembly) __chkstk
    0x00007FFCA9675E96 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:22534] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA968986A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:28186] TextMeshProUGUI_GenerateTextMesh_m390AFC3076D469CA9CDFF610CDEE869A17808CF5
    0x00007FFCA84EE5B9 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_2.cpp:52] VirtActionInvoker0::Invoke
    0x00007FFCA96B7448 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:22521] TextMeshProUGUI_OnPreRenderCanvas_m4ABF4F4A5DD070CE6F2297BE0D0FD9197B6015E4
    0x00007FFCA96B7EA2 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_4.cpp:13554] TextMeshProUGUI_Rebuild_m6A6870D565CF24DCFB0B13149AE18103AD462F3C
    0x00007FFCA8503CCC (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unity.textmeshpro_3.cpp:118] InterfaceActionInvoker1<int>::Invoke
    0x00007FFCA97FF34D (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unityengine.ui_1.cpp:15997] CanvasUpdateRegistry_PerformUpdate_m27FCC7819543791FFD7C17E9A0A0599D9FABA3AD
    0x00007FFCAAB487CD (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unityengine.uimodule_0.cpp:2932] WillRenderCanvases_Invoke_m115F44E08A802F1800D79D3B92EE1A575AD08834
    0x00007FFCAAB453FA (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unityengine.uimodule_0.cpp:2844] Canvas_SendWillRenderCanvases_mD38081FE3172AC7A884B8ED459E90633167B2D10
    0x00007FFCAAB4529A (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unityengine.uimodule_0.cpp:2811] Canvas_ForceUpdateCanvases_mB23FF44265E49BE388A79267533EA482F08C0755
    0x00007FFCA9CDCA26 (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unityengine.ui_3.cpp:28300] ScrollRect_EnsureLayoutHasRebuilt_m9B19F9D3F790C03A1CCA5954CEF4597E91C5F151
    0x00007FFCA9CDF30C (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\bulk_unityengine.ui_3.cpp:29168] ScrollRect_LateUpdate_mF968CFA447E8D19FB1BABB9E857BFD6CA5995C95
    0x00007FFCA843CB6B (GameAssembly) [k:\checkpointalpha\temp\stagingarea\data\il2cppoutput\il2cppinvokertable.cpp:44641] RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017
    0x00007FFCA88E7E9A (GameAssembly) [k:\bin\2018.3.0 rc1\editor\data\il2cpp\libil2cpp\vm\runtime.cpp:531] il2cpp::vm::Runtime::Invoke
    0x00007FFCA8943CDF (GameAssembly) [k:\bin\2018.3.0 rc1\editor\data\il2cpp\libil2cpp\il2cpp-api.cpp:974] il2cpp_runtime_invoke
    0x00007FFCBF72F915 (UnityPlayer) UnityMain
    0x00007FFCBF740D80 (UnityPlayer) UnityMain
    0x00007FFCBF74AE09 (UnityPlayer) UnityMain
    0x00007FFCBF74AFC6 (UnityPlayer) UnityMain
    0x00007FFCBF250780 (UnityPlayer) UnityMain
    0x00007FFCBF25770F (UnityPlayer) UnityMain
    0x00007FFCBF4BCAE9 (UnityPlayer) UnityMain
    0x00007FFCBF4AD5DE (UnityPlayer) UnityMain
    0x00007FFCBF4AD6AF (UnityPlayer) UnityMain
    0x00007FFCBF4B0620 (UnityPlayer) UnityMain
    ERROR: SymGetSymFromAddr64, GetLastError: 'Próbowano uzyskać dostęp do nieprawidłowego adresu.' (Address: 00007FFCBEF2E672)
    0x00007FFCBEF2E672 (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Próbowano uzyskać dostęp do nieprawidłowego adresu.' (Address: 00007FFCBEF2CCEA)
    0x00007FFCBEF2CCEA (UnityPlayer) (function-name not available)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Próbowano uzyskać dostęp do nieprawidłowego adresu.' (Address: 00007FFCBEF319E6)
    0x00007FFCBEF319E6 (UnityPlayer) (function-name not available)
    0x00007FFCBEF33D4B (UnityPlayer) UnityMain
    0x00007FFD20C43034 (KERNEL32) BaseThreadInitThunk
    0x00007FFD219C1471 (ntdll) RtlUserThreadStart

    ========== END OF STACKTRACE ===========


    Does somebody also run into these issues? What can I do to fix this?
    I'd really like to keep using il2cpp, but for now only Mono builds work for me!
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,453
    Can you send us a bug report? Text Mesh Pro should work fine with IL2CPP.