Problems publishing my game.

Hello,
I am getting these following errors when I click, “Build” for WebGL when trying to publish my game…

Then, I get these errors when I click “Build and Run”…

Then, when I click on the link to my game, the page doesn’t respond and asks me if I want to wait or exit the page. How can I troubleshoot what the problem is? Thank you.

This looks related to package manager. Perhaps ask in that specific forum? Otherwise a few generic steps to try:

  • reimport all

  • update all packages

  • more drastically, remove all packages and add them afresh

  • even more drastically, make a blank project, put the same packages in it, and try to build.

Thank you. I ‘reimported all’ and had the same problem. Then, I took the Packages folder out of my project and sent it to my desktop. Afterwards, I didn’t see the errors anymore when I clicked on “Build” or “Build and run”, but (even with the localhosted address), the page on my browser didn’t respond. I also don’t see the “Share WebGL Game” option in my Window menu anymore so in Package Manager, I searched for “Web” (for WebGL, to see if I can redownload whatever .cs script caused the “Share WebGL Game” option to appear in my Window menu), and I get, ‘No results for “web”’.

I got a result. I just had to select, “Show preview packages” in Package Manager.