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

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


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


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

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

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


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

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

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


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


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


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>