As the title says, Im experiencing an issue after updating from Unity 2018.3.6f1 to 2019.2.9f1 (with no TMP package update that I can detect, still using the same 2.0.1 after the update).
The problem affects all prefabs created before the Unity update: when you enter on prefab mode they look correct, but as soon as you play the game on editor, all TextMeshPro components lose the main settings, resetting material, style, size, alignment, etc.
I know there was a change to prefabs sometime in 2018.3.
What version of TMP were you using in 2018.3?
In 2018.3, the version of TMP should have been 1.3.0 ~ 1.5.0-preview.1. Version 2.0.1 ~ 2.1.0-preview.1 is for 2019.x or newer.
Do you have any errors in the console prior to entering play mode?
I have not run into this issue before, it might be good if you can submit a bug report with the project so I can take a look. Once you have the Case # please provide it to me.
You are correct, in 2018.3 we were using TMP 1.3.0 (was my mistake reading the wrong Packages-Update.log). Maybe is worth sharing: we attemped an update to 2019 before, to version 2019.2.2f1 and didnt got this issue.
I have no errors in console whatsoever, and as said, new prefabs work just fine.
I cannot send the project Im afraid, and neither Im sure how much time would take finding the minium expression for this error, so I can create a report, but cannot provide a reproduction case. Will research this further tomorrow at work, and report back if can find anything.
Oh right, after trying different things I found the issue through fiddling with the font asset.
While tracking a hint, I decided at some point to recreate the font asset we had, and replace with it the font in one of the prefabs: it did fixed that prefab. So I tried setting the new font as default, but it did not affected the existing prefabs. At some point I discarded those changes on the git client, and the prefab continued to work! So it had to be an import issue, as there was no reported changes that could persist any of the changes.
So basically, I deleted the Library folder, let Unity reimport all (once again) and voilá.
I do see that some expected new settings are not added on update to the TMP Settings asset, not sure if that made any difference or help you understand better the issue @Stephan_B , but in any case, seems solved now, thanks again.