Unity-Technologies / FPSSample

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

Building for Linux #47

Open asdf2154s opened 5 years ago

asdf2154s commented 5 years ago

I am trying to build FPSSample for StandAloneLinux64 from Win10. However I receive error message bcl.exe did not run properly. Has anybody succeeded to build game for Linux? Or maybe has some idea about what may be causing this error, where to get more info about the error, or even know solution.

Full Error:

Exception: D:\repo\UnityFPS\Library\PackageCache\com.unity.burst@0.2.4-preview.33.Runtime\bcl.exe did not run properly! UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130) UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73) Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@0.2.4-preview.33/Editor/BurstAotCompiler.cs:220) UnityEditor.Build.BuildPipelineInterfaces.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:452) UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) BuildTools:BuildGame(String, String, BuildTarget, BuildOptions, String, Boolean) (at Assets/Scripts/EditorTools/Editor/BuildTools.cs:113) BuildWindow:DrawBuildTools() (at Assets/Scripts/EditorTools/Editor/BuildWindow.cs:334) BuildWindow:OnGUI() (at Assets/Scripts/EditorTools/Editor/BuildWindow.cs:132) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

yahavb commented 5 years ago

Hey @asdf2154s - I am trying to do the same but I dont know how to start. I have a unity 2019.1.0b1 Personal and I cloned the FPSSample from github but I dont know how to load the FPSSample using the Unity Editor. The README.md advice to open the Project Tools Window by navigating to FPS Sample > Windows > Project tools. but I think I need to have some sort of project already opened. I am sure I miss something very basic. Any help will be appreciated

asdf2154s commented 5 years ago

@yahavb try to use unity hub. And then simply navigate to folder.