Quantcast
Channel: Questions in topic: "command line"
Browsing all 123 articles
Browse latest View live

Running 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 Article


Running 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 Article

Simultaneous 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 Article

How 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 Article


Compile 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 Article

buildWebPlayer not working

Hello, i'm done the build from command line, but not working. This is my line, executed from CMD in windows. Thanks for the help. Sorry my bad english. "C:\Program Files\Unity\Editor\Unity.exe" -quit...

View Article

mcs.rsp File Not Working

I'm trying to define preprocessor directives using the mcs.rsp file. I'm on windows, using c#. I followe the directions delineated [here][1] (at the bottom of the page). The file looks exactly like...

View Article


The -systemallocator switch

I have been struggling with accurate memory profiling for some time, and in the release notes for 2017.3 (found at https://unity3d.com/unity/whats-new/unity-2017.3.0), I noticed the following bullet...

View Article


Prevent Start of Standalone Player Based on Command Line Parameter

I'm looking for a solution to the following problem: I need to prevent the standalone player from starting, if a specific command line parameter is missing. Of course, I can check...

View Article

Windows command line returns 0 for compile errors in jenkins,

Hello, I'm trying to run tests on Jenkins. The command line is executing just fine for me, but for some reason windows in not returning it's exit code as expected. runScript = 'start /WAIT ""...

View Article

xCode build fails after upgrading to 4.5 only on automated build project.

Hi. I got a strange problem currently with my jenkins build job. If I'm building the xCode project manually, everything is working fine, but if I let it build my build server, I get some errors like:...

View Article

Where can I find a list of target names to use with the command line option...

I want to run the editor from the command line using the option -buildTarget, but the documentation I have found does not provide a list of valid target names....

View Article


Where can I find a list of target names that can be used with command line...

I am trying to use the -buildTarget option when opening the editor from the command line. Where can I get a list of valid names to ass in with this option? This is the only documentation I can find on...

View Article

Script debugging & DevBuild via command line

Hi. I playing with integration Unity with my IDE. Already finished debugging. I want create support for build & debug application via IDE, but have few problems....

View Article


Unity3D Command line Build not accessing libraries and updating Android Manifest

I have a unity project with multiple android plugins. The plugins are placed in the recommended folders /Assets/Plugins/Android/NameOfPlugin and each have their own AndroidManifest.xml and .project...

View Article

Asset import in editor using command line

Hello everyone, i want to create an application that will open unity editor using windows command line , import an 3D model and export it as Assetbundle package. Is that possible ? Thanks

View Article


Choose screen with Command line arguments

I am planning to run two or more instances of a "game" at a single PC and I need to start this automatically using command line scripts. I start in windowed border-less mode using a FullHD resolution....

View Article

Problems running from command line

Hi, I have upgraded my project from Unity 4.6 to 5. I had used this line to run a Unity project from the command line: >“C:\Program > Files\Unity\Editor\Unity.exe” > -projectPath But it no...

View Article

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 Article
Browsing all 123 articles
Browse latest View live