Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Aug 27, 2014 at 05:48 PM by Landern for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by jtsmith1287 · Aug 26, 2014 at 04:24 AM · command-linebatchmode

-batchmode flag only available in PRO?

alt text

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.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tanoshimi · Aug 26, 2014 at 05:58 AM 0
Share

That error message looks truncated: "only available when publishing... how/what/where"? Do you get more information in the player log?

avatar image jtsmith1287 · Aug 26, 2014 at 05:16 PM 0
Share

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. :/

avatar image Sisso · Oct 10, 2014 at 12:26 PM 0
Share

@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

1 Reply

  • Sort: 
avatar image
0
Best Answer

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Sisso · Oct 10, 2014 at 12:38 PM 0
Share

Like my comment in the question the statement "pro only" is wrong

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How to check error when Unity build by command line 1 Answer

How to execute async method in batchmode correctly?,Questions about how to execute async method in batchmode 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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges