- Home /
The question is answered, right answer was accepted
-batchmode flag only available in PRO?
This is the error I'm getting when attempting to run my standalone build as a server instance. I'm creating a game that has persistent world data, but also runs game matches, like most arena style games. I'd like to use an instance of unity, along with Photon Server, to handle the in game logic as a master server. Nothing in the docs states that running the command line options are PRO features only, so I don't understand why I'm getting a "feature unavailable".
I also looked into whether commandline arguments were intending for building only, but the docs clearly state "Standalone players built with Unity also understand some command line arguments" -- This would mean it's intended use is not just building. So, I'm at a loss. I haven't received any luck on the forums, either. Thanks in advance for the help.
That error message looks truncated: "only available when publishing... how/what/where"? Do you get more information in the player log?
You're right, it does look truncated. I didn't see any relevant information in the player log. In more researching I'm seeing other people using this feature as I'm trying to, but with success. It does look possible... just don't know how. :/
@jtsmith1287 With "C:\Program Files (x86)\Unity\Editor\Unity.exe" -batchmode -quit -buildWindowsPlayer ../Build/gl.exe I am able to build for windows/mac/linux
-execute$$anonymous$$ethod works too
But I am not able to build for mobile platforms
Answer by jtsmith1287 · Aug 27, 2014 at 05:47 PM
For anyone else curious about this, the command line tools are mostly designed for Unity Pro.
Like my comment in the question the statement "pro only" is wrong
Follow this Question
Related Questions
How to check error when Unity build by command line 1 Answer
Linux editor attempting to connect to X even in batch mode with -nographics. 0 Answers
Does EditorApplication.update get called in -batchmode when calling -executeMethod? 1 Answer
Sending messages to a command prompt when running in batchmode and nographics 1 Answer