Unity-Technologies / FPSSample

A first person multiplayer shooter example project in Unity
https://unity.com/fps-sample
Other
4.86k stars 1.84k forks source link

AutoBuild is missing #5

Open michidk opened 5 years ago

michidk commented 5 years ago

Hello. Thank you for this great example project. Sadly the Start-button in the "project tools"-Window doesn't work. It throws the following error: Win32Exception: ApplicationName='C:/Users/michi/Programming/Unity/FPSSample/Assets/../AutoBuild/AutoBuild.exe', CommandLine=' +serve Level_01 -batchmode -nographics ', CurrentDirectory='AutoBuild', Native error= The system cannot find the file specified.

Cheers, Michael

friuns2 commented 5 years ago

i had this error as well, solved by pressing "build game" first, and other stuff in instructions

churbis commented 5 years ago

"Build game" does not solve the issue for me :(

michidk commented 5 years ago

Same. The file is just missing. Can't find it in this repo either.

churbis commented 5 years ago

@michidk I believe that it is generated. There are references to building at least an empty user.cfg and a game.cfg in BuildTools.cs.

Your Settings > Editor may be set to Perforce, in which case your project files may be locked to writing from the game. Disabling Perforce (setting version control to meta files, for example) should stop this issue from happening.

Memorix101 commented 5 years ago

AutoBuild.exe is not a needed tool application. It is the game itself after a successful build generation. 4564

michidk commented 5 years ago

So I applied @churbis fix and the AutoBuild.exe was created as @Memorix101 said. If I now start AutoBuild.exe, it displays a console with NullReferenceExceptions...

Also the scenes look like this: image

I don't think that Git LFS failed, because my folder ist 40 GB in total! image

JairusSW commented 4 years ago

Hello, You need to hit force [all] in the same tab that you start the game. next, hit 'build game' and then start a headless server with 1 or 2 clients. Hope this works!