Hey all,
I’m building an asset at the moment which targets a minimum Unity version of 2017.4, and requires TextMeshPro. As this is on 2017.4, the TMP version required is the old Asset Store version.
Unfortunately, it looks like there’s a lot of compatibility errors in bringing this forward. When building the unitypackage without dependencies, newer versions of Unity (with TMP pre-bundled/downloaded via package manager) don’t recognise the GameObjects as having TMP components - and simply give a (no script) error on their components.
When bundling with dependencies, you encounter tonnes of conflict/legacy component errors, such as
Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Text.cs(6600,132): error CS1061: 'FaceInfo' does not contain a definition for 'scale' and no accessible extension method 'scale' accepting a first argument of type 'FaceInfo' could be found (are you missing a using directive or an assembly reference?)
Is there any known way to actually build an asset for <2017.4 using TextMeshPro, without breaking forward compatibility? Or should I look at instead targeting a version of Unity which contains the pre-bundled/package manager TMP, such as 2018.4?