Search Unity

TextMesh Pro Crash TMP 1.4.1

Discussion in 'Unity UI (uGUI) & TextMesh Pro' started by HugoClip, Jul 10, 2019.

  1. HugoClip

    HugoClip

    Joined:
    Feb 28, 2018
    Posts:
    6
    Using Unity 2018.4.3f1 the game crashes on start. It happens on Android and Mac (didn't check other platforms)
    The steps to reproduce are simple. But they are different if you are building through the cmd line (e.g. through a jenkins job or just manually using unity UI)

    Without using cmd line:
    1. Create a empty scene with a TMP text
    2. Build for any of those platforms
    3. Exit Unity
    3. Build
    4. Run the game, it should crash

    Cmd line:
    1. Create a empty scene with a TMP text
    2. Build using the cmdline
    3. Run the game, it should crash

    I attached the logs for each platform. The crash doesn't happen with TMP 1.3.0.
     

    Attached Files:

  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    2,910
    This is most likely related to a build system bug (which has been fixed but not back ported) where the incorrect assembly is used in the build process.

    To verify this is in fact the same bug, in the editor open the build settings and change the Architecture to x86. Wait for Unity to do its thing. Then without building switch back to x86_64 and then build. Switching Architecture forces Unity to re-sync with the correct assemblies instead of using the Editor assemblies which contain an additional serialized property.

    Give the above a try and let me know if you still experience this crash.
     
  3. HugoClip

    HugoClip

    Joined:
    Feb 28, 2018
    Posts:
    6
    I should mention that I'm building on Mac, so I don't think I even have the option change Architectures.
     
  4. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    2,910
    Switching platform should do it I believe.