How can I licence Unity 5.1.1f1 using a command line argument
Hi, With the introduction of Unity 5 we were given the ability to license Unity using the -Serial command line argument (to great applause from myself). Unity 5.1 has introduced a new JSON Licencing...
View ArticleOculus Rift Build, how to render only 1 image on monitor?
So I heard there was a command line argument to start a build so that it is rendered correctly on the oculus rift, but not mirrored on the main monitor, instead it is rendered only once on the main...
View ArticleExecute Method from Command Line
Hello, I want to execute a method of a CS file I have in Assets/Editor from command line. I am using this: /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -quit -projectProject...
View ArticleRunning command line action through C# script
For a project I need to load in video files from the computer. However, as Unity does not support any other format besides "ogg" (right?), I will have to convert the videos from .mp4 to .ogg first. To...
View ArticleOutput to terminal / cli
How I can I output the terminal / CLI when my app is run from the terminal / CLI? Let's say I want to use Unity to make a command line utility. For example on OSX the user might type...
View Articlerun exe without play button,exe to run with no "play" button
Hi is there a way to run my exe (command line arguments or anything else) without displaying the "play" button? (to run automatically?) thank you,is there a way / command line arguments that will make...
View ArticleSign out / Offline mode from command line
I'm deploying Unity to one of our Mac labs. I can silently activate the license using the command line instructions in the documentation, however, our account stays logged in after activation. Is there...
View ArticleUnity Collaborate CLI
Hello! With Unity 5.4 stable, we started using Collaborate but as it's still in beta, we don't want to take any risks and still use git. But now we need to push twice - one for collaborate and one for...
View Articlehow to enable graphics device in batchmode
Hi. I am trying to build a standalone application that runs in windowless mode (-batchmode), that renders an image and sends it over localhost tcp to another application. From my understanding of the...
View ArticleAnalytics not found when building from command line
So I get this error when trying to launch my build from from command line: "C:\Program Files\Unity\Editor\unity.exe" -batchmode -quit --build_path= -projectPath C:\BuildAgent\work\83f46aa43071d679...
View ArticleRunning method from command lines reverts version
I have a project with only one scripts with one method and its int he Editor folder, and I am running "Unity.exe -projectPath C:\Users\Matt\Desktop\BlankProject -executeMethod Command.callMe -quit...
View Article-adapter command line to set GPU under Direct3D 11
Running a Unity game with the "-adapter" does not seem to work on Direct3D 11. This is supposed to set which GPU the application will use or default to. It does work when ran using Direct3D 9, but I...
View ArticleRunning Unity editor in batch mode on Windows Server Core in Docker
I've got Unity 5.6.0f3 installed in my container, but I can't get the Unity editor to launch at all. It seems to fail to run without logging anything to file or the Windows Event logs. Below is my...
View ArticleSimultaneous Unity & Command Prompt?
Hello, all. This is a bit complicated, but here's **what I'm trying to do:** 1. Run pronsole.exe (a command line interface for connecting and controlling to 3D Printers). 2. Have pronsole.exe run in...
View ArticleHow to shutdown unity game from dos prompt
I am able to launch a Unity game by entering the below command: C:\Users\Public\Documents\Unity Projects\Coin project\coin.exe But how would I shutdown a game from command line?
View ArticleCompile Scripts with Command Line
Hey Guys, I'm trying to get my head around how I can recompile my scripts using a command line. Most of the time I'm working in my IDE and I'm only opening Unity to see if the scripts are compiling...
View ArticleCommand Line Android Build - Graphics Issues
Hi all, I'm encountering a strange issue with our command-line driven automated android builds. Suddenly, I'm seeing strange graphics issues with command line authored builds that don't appear in...
View ArticleCommand line build for store App
Hello every one !! on this page from the manual there are different command to build from command line to many OS. http://docs.unity3d.com/Documentation/Manual/CommandLineArguments.html Did the one for...
View ArticleUnity License Update problem causing crash on cmd line
Unity seems to check/update a license file now and then, this is causing a crash if unity is started from the command line. Everything works fine until Unity wants to query the license update. Then a...
View ArticleFacebook SDK import fails on command line
I am trying to import Facebook SDK in command line. It fails with message: Package has unknown format. The same package imports OK in the UI. The commands I try to run look like this: Create empty...
View Article