GUI Disappears When I Publish

So I have a few simple GUI text boxes that appear just fine when I play the game in the editor, but when I publish the game to my Desktop the Text boxes are not visible when I play the game.. I don't think its a scripting problem because it works 100% fine in the editor, its just when I publish it to my desktop... So does anybody have any idea of whats happening here?

Firt, check the output.log/player.log file for the build (in the data folder on windows, and the same place as the editor one on mac). If there are any major issues, they'll show up there. If there are any exceptions which show up, that's probably the cause.

The only other times i've seen this happen myself are when the metadata files in the library have been screwed up (admittedly usually my fault). This came with problems in the log file about it not being able to load my file/class. I eventually had to copy all assets to another project to get it working, unfortunately.

If that is the problem, try a Reimport All first, just in case

I’ve had this problem for a while and was not looking forward to try to fix it by rebuilding the project (since none of the other fixes worked). Luckily, for my case, I found another solution:

In the build window (File > Build Settings), delete all the scenes, and re-add only the one you are building (you can re-add all your others too, after you confirm that this works).

The issue for me was that somehow, my scene thought it was in another sub-folder (possibly due to new unity project folder structure, since I upgraded).