Text not appearing when game window set to maximise on play

So i have some text objects in my game, the value of the text is set by a script, however when the game window is set to maximise on play and i play the game i cant see the text, but when the game window isn’t set to maximise on play and i play it i can see the text the script has put in fine. If you have any idea what is going on please tell me.

I had some similar issues, try to change the text box size, don’t use the biggest text size and don’t use the “best fit”