Is it safe to update textmesh pro in unity 2019.4 LTS to the latest version available in the package manager?
I don’t want to update and have all my text/references/whatnot broken.
The verified version is already dating back from 13 may 2019 and there’s been alot of changes in the mean while according to the changelog.
I also have a error being logged from TMP_Dropdown when enabling visualize on buttons.
I can fix the issue in the tmpro code but it always resets back hence why I want to upgrade.
As with all updates / upgrades, you should always create a backup of the project first. This way, should anything go wrong or unforeseen issue arise, you can always revert to the backup until some solution is found.
Having said that, the latest version of the TMP package is version 2.1.1 and will be the verified release for 2019.4.
I just created a new 3D project using Unity 2019.4.9f1 which default to version 2.1.1 of the TMP package and I get no errors.
It is possible the package for version 2.1.1 got corrupted in the download process. I would recommend deleting your package cache to see if the error persists. The following link provides information about the location of the package cache.
Let me know if you get the same result after deleting the package cache.
P.S. The only errors displayed in your image are related to GUID. Can you post an image of the other errors?
I’ve had this red error in 2 separate projects when updating TMP from the default 2.1.1 to 2.1.4 :
Library\PackageCache\com.unity.textmeshpro@2.1.4\Scripts\Runtime\TMP_DefaultControls.cs(188,22): error CS1061: ‘RectMask2D’ does not contain a definition for ‘padding’ and no accessible extension method ‘padding’ accepting a first argument of type ‘RectMask2D’ could be found (are you missing a using directive or an assembly reference?)
Both projects were new with nothing in them yet except the ProBuilder package. Using 2019.4.9f1. In both cases I ended up deleting the project and re-doing it, and staying with the default package already installed (2.1.1).
Cheers.
The padding property was added to the RectMask2D in Unity 2019.4.12f1.
In order to get around this issue, you can simply comment out the offending line in the package. The change will have to be made in the Global Package Cache.
Alternatively, you could upgrade to the latest 2019.4. That is unless there is a technical reason you are sticking with an older version of 2019.4.