I have this text and it doesn’t show it in the game mode, i have made the box really big to try to fix it but it didn’t work.
Hey try this solution
Make sure that ur camera is not far away from text(I hope you`ll understand my statement).
1: Change the Canvas mode to either of the other modes (which use a camera). Then create a camera that sees the UI layer and change your Cube’s layer to “UI”. Drag the camera to the Canvas. As long as the camera position is adequate, you should see the cube.
2: Leave the Canvas in Overlay mode and just create a new camera that sees the layer your Cube is in (I’m guessing it is in the “Default” layer). This will work, but might not be what you want, as you’ll have a Canvas that sees uGUI elements only, and a camera that only sees the cube.
I know this is an old post but I had the same problem and the solution was very stupid : Text color opacity was to 0. I hope this could help people as dumb as me ahah