TextMeshPro Font Asset editor GUI layout issue in 2018.4

I recently discovered that when you want to add a font asset reference to the “bold typeface” field of another font asset, you cannot drag-and-drop the asset reference. This is because the Property Field is too small, and has been crushed down beyond its minimum width required for drag and drop interaction.


This is true even if the inspector is very wide.

A workaround is to use the inspector debug (bold is font weight index 7, which corresponds to font weight 700).

Hope this is helpful if you find yourself stuck and that DigitalNativeStudios can fix this in later versions.

This is what the panel should look like in the more recent version of TMP.

5204267--517709--upload_2019-11-22_14-30-49.png

Please make sure you are testing using the more recent version of the TMP package. The latest package release for Unity 2018.4 is version 1.5.0-preview.2. Preview 3 should be available over the weekend.

1 Like

Thanks for the reply Stephen. Good to know that there is a fix in future versions.

Here’s some additional information about the problem.

I am running Unity 2018.4.0 (not the latest point release of 2018.4) on OSX. The TextMeshPro version experiencing this issue is 1.3.0.

I downloaded 1.5.0-preview 2 to test it out and see the following error in the console:
Library/PackageCache/com.unity.textmeshpro@1.5.0-preview.2/Scripts/Editor/TMPro_FontAssetCreatorWindow.cs(11,19): error CS0234: The type or namespace name 'TextCore' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

Need to update to a later release of Unity 2018.4. I believe at least 2018.4.6 or newer.

1 Like