Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

TextMesh Pro Fix for 1.4.0 TMP_SettingsEditor bug here.

Discussion in 'UGUI & TextMesh Pro' started by Discipol, Mar 19, 2019.

  1. Discipol

    Discipol

    Joined:
    May 6, 2015
    Posts:
    83
    Everytime I upgrade TMP from 1.4.0 to its predecessors, I get a bug in the base TMP code error because I am on 2018.3.x and seems like the author doesn't work on that version as it is under a #if UNITY_2018_3_OR_NEWER

    I do work on this version for the nested prefabs and encounter a compilation error related to the creation of an AssetSettingsProvider. I found this fix online and wanted to share it with my fellow devs. It completely fixes the problem and once you explore what it is, it becomes clear how to fix this (and similar problems) in the future.

    https://scrapbox.io/XVRF/Fix_a_compile_error_in_TMPro_1.4.0
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    What version of the TMP package are you running in Unity 2018.3?

    Version 1.4.0 should behave better with nested prefabs so unless I am miss understanding, what is the reason for using an older version of TMP in 2018.3?