Build from Linux command line
So I'm having trouble building from the Linux Command Line. I execute my shell script and it successfully opens Unity however for some reason doesn't execute the build script that I have in the files.
I'm not sure if it's having trouble finding it but this is my editor build script
using UnityEditor;
public class BuildScript { static void BuildGame() { string buildDir = "home/robert/fusion-silver-build/Build/linux/build.x86_64"; string[] defaultScene = {"Assets/Scenes/lobby - silver"}; BuildPipeline.BuildPlayer(defaultScene, buildDir, BuildTarget.StandaloneLinux64, BuildOptions.None); } }
Your answer
Follow this Question
Related Questions
Keyboard input for embedded player 0 Answers
Logging in without the Hub 0 Answers
Build Android from Command Line 0 Answers
Cannot modify com.unity3d.UnityEditor5.x.plist via command line 2 Answers
License switch by terminal 2 Answers