R
R
rundll322020-08-06 03:10:17
Unity
rundll32, 2020-08-06 03:10:17

Compiled project in Unity won't run?

I sketched a simple project with two scenes - a menu and a submenu. Just one simple script that, when you click on the first menu button, loads the second menu.

public void ShowGameModeMenu()
{
     SceneManager.LoadScene("Game mode menu");
}


When you click on Play, everything works, there are no errors. But when you try to run an executable exe file from the explorer, as well as when you try to execute Build and Run, nothing happens. No errors, but no window either.
Windows 10 OS, building the project for the desktop, changing the architecture in the Build Settings from x86 to x86_64 did not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-08-06
@rundll32

Build SettingsBoth scenes must be included in the project .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question