Build for Windows

I have my game built with a splash page, a menu with a functional button that enters the game… When I hit play inside Unity, it runs beautifully. But, when I build it, nothing happens. It opens on a PC, but stays on the splash page. What am I missing?

Have you added it to the build settings?

file>Build settings
AC

I have all three set up in the build settings and check marked.

I can think of 2 possibilities:

  1. How Unity works is it loads level 1 immediately, then, it loads all others together. which can take some time, so maybe you just need to wait. I know this is true for the webplayer files at least.

  2. Something in your code is causing an error? Any redline console errors in the editor?

I thought the build settings might have been a simple solution…unfortunately not

AC

Does it print any errors to Data\output_log.txt on the PC?

Yep! Good call.

“Couldn’t load the script “NewBehaviourScript 1” because its file name doesn’t match the class name.”

and also

"Couldn’t call method DoSendMouseEvents because the class SendMouseEvents couldn’t be found.

I don’t know anything about scripts… I just pulled from the help… what is the class name?

That’s something funky. Can you file a bug and attach the project folder to it?

How big can the project folder be when I report a bug?

Unlimited for practical purposes. Probably no one tried sending a terabyte project, but I have seen some bug reports several gigabytes in size.

Perfect. I am sending the demo file now since the errors are the same.