my build won't work because my game is stuck in the menu screen and won't start into the game

hi. my build in unity won’t work because my game is stuck in the menu screen and won’t go into the game. i click on build on unity and it loads my game’s menu screen but when i press start button it won’t leave the menu screen and go into the game. what do i do? how do i fix it?

Try to provide a little more information, here are some things people on the forum need to know before we can help.

  • Have you confirmed that the in-game scene is included in the build?
  • How are you loading the scene?
  • Are you getting any errors?
  • Does it work in the editor?

hey. yeah i clicked on build preferences and and the in game scenes was checked in the box before i clicked on build. yeah i can edit the game in the editor. i can even rearrange audio tracks in order with audio controller. i’m not getting an error message cause it said it completed the build in like a few seconds. when i click on build it gets things ready and puts my game in selected folder on my computer and then i click on my game exe thing and the menu screen of my game appears and i click start and it clicks start but it doesn’t go into the game cause it just stays on the menu screen of game and goes no further. i think i’m loading the scene through regular way lol the main way anybody can load a scene. target platform is windows. architecture is x86_64 and the compression method is by default. and the scene is labeled as shaded.

Okay, I am assuming you are not doing an async or additive scene load. Can you successfully load into the in game scene from the menu scene in the editor?

yeah. i can load from game scene from menu scene into the editor. i can access all the folders and assets of the game. it might be the version of unity i’m using which is 20203.18f1

Try switching your build settings so that it is a development build and see if there are any errors when you run the game. You could also attach and IDE to the build and put some breakpoints in to help diagnose it. If your IDE can’t do that Debug.log is a fallback option for you. I really can’t advise you any more, this is a problem you will need to workout on your own. I can assure you with 99.99% confidence that the Unity version you are using is not the issue.

okay well i fixed the problem and now i have a new problem. i can make a build but i want my game on itch.io and i can’t cause html5 webgl isn’t loaded on my unity 20203.18 and when i click the 3 dots there is no modules shown to download modules. and i can’t put my game in another unity version cause it would downgraded the project and cause data loss. so what do i do? how do i install html5 webgl on unity 20203.18? and on itchio when i try to upload game on playable browser it says index.html is missing. so what do i do? how do i fix it?

Yeah, I too see some of my Unity installs that don’t have “Add Modules” behind the 3 dots, interesting. Can you install Unity 2020.3.19f1 and ensure to select the WebGL module during installation?

i have yet to try and install unity 20203.19 yet. do you think that will do the trick? because my game is specifically put into unity 20203.18 and i have a earlier unity in 20203.12 and i tried to put the game in that but it said doing so would cause downgrade of project and data loss of project. so what do i do?

Yes, downgrades are typically not supported. You would be doing an upgrade with 2020.3.19, which is much safer. Make a full back up first, of course, in case anything goes wrong.

so remove unity 20203.12 from the hub? and then install unity 20203.19? what about my unity 20203.18? my game is entrenched in unity 20203.18. but like i said unity 20203.18 has no module icon to download things like html5 webgl.

No need to remove it! The Hub allows you to install multiple versions of Unity side by side, give it a try! But first make a full project back up, first thing. Have you done that?

it doesn’t allow to make a backup. i have the project saved in a folder. can’t i remove all unity versions and download 20203.19 and add the project in?

No need to remove any Unity versions. You will need to make a project backup first, you should do that part immediately. Just File/Copy all your project files into another folder. On Windows, use File Explorer. On Mac, use Finder. Then install the new version of Unity, and open your project and let it upgrade. Done!

well. i had no choice to uninstall all unity versions including ghost unity versions i didn’t know were on my computer. and i then downloaded unity 20203.19 and then i clicked on player settings and clicked on html5 webgl and then it sent me to the download page to get it. that wasn’t there before on 20203.18. and then after i downloaded the webgl thing it then become reality and available in player settings to build a build for my game on unity 20203.19. so i think i have solved the problem. except when i click on webgl in player settings it has a switch platform button. i click on switch platform? and if so then what do i do next?

Unfortunately you were not able to follow my directions. I trust that you made a project backup first. You should not proceed until you do so. But otherwise, yes, if you want to build to WebGL, you switch to that platform

7558015--934750--WebGL.png

i guess i must have backup without realizing it lol. do i click development build too? or just switch platform?

Did you use File Explorer or Finder to make the backup? Where is your backup located, please show a screenshot.

there isn’t a need to cause here is my game now on itchio: Laser Rage by macha777 (itch.io)

You should always have a project backup. I’m not able to play the game, the keyboard and the mouse don’t respond. But I’m glad you got it published! Good luck on your project.