My menu screen for my game was working fine with buttons and TMP elements but out of nowhere my text stopped showing up completely. I even have a screen recording of when they were working and everything seems to be the same. I deleted my canvas and camera and remade them to see if they were the problem and nothing seems to be working.
Sometimes the whole text can disappear, when you use the Auto Size feature.
So, if you use that, ensure you have set the Min-Value of the Auto Size Options small enough.