I just spent an hour trying to figure out why ‘Time remaining’ UI element wasn’t displaying the countdown digits… I could see the ‘Time remaining:’ label, but no numbers. Double-checked the code, double-checked that the scripts were attached to the game objects correctly…
I finally realized it was because the text box in the Unity editor wasn’t wide enough: since the counter is many decimal places long, it looks like if it gets cut off partway, the whole float just fails to display at all.
So make sure it has enough space like this: