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 /
avatar image
0
Question by MrDude · Aug 10, 2012 at 11:52 AM · networkinglinuxgpubatchmode

Why is -nographics only available for Windows?

Is OSX and Linux getting this command or do only Windows players ever want to create headless games without GPU access?

I don't have Windows nor do I want a Windows based PVS, does that mean that Unity is useless to me? Am I actually forced to use Windows just for the -nographics command or will it be possible shock and horror to host a game server on a Linux VPS ? ? ?

Incredible thought I know... but it is true... there ARE people who don't use Winblows... No really... I can prove it... ;) ;P

All joking aside though, I want to host a game server that I create with Unity (not Photon or some or other third party kit as I have tried a bunch of them and they just don't meet my needs...!) I want a game I made using Unity networking acting as a server, running as a permanent process, running as an authorative server for my games but NOT running on Windows. Since it will be running on a VPS it means I need it running without the GPU and any kind of display...

Will this be possible in my lifetime at all?

Thanks

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by nicolas.abl · Sep 14, 2012 at 06:56 AM

This feature, using -nographics in the linux player, is also very important to us, for the same reason as the OP.

Comment
Add comment · 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
0

Answer by dreamora_old · Sep 28, 2012 at 07:38 PM

You are looking at the wrong command line flag.

What you are likely looking for is -batchmode, which creates a headless client that runs on a null graphics and null audio device.

Comment
Add comment · Show 2 · 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 MrDude · Sep 28, 2012 at 07:50 PM 0
Share

Thanks for the reply, dreamora but I have to disagree. I thought it was batchmode but when I tried to run the game on my Linux VPS I couldn't get it to start because it kept bombing out with the message "Count not initialise the display" (or was that "Error initialising display" ? I forgot)

Either way, no matter what I tried, it kept crashing at load time saying it was unable to init the display so clearly batchmode was not the display-less mode I thought it was :(

avatar image dreamora_old · Sep 28, 2012 at 08:47 PM 0
Share

Would need to check it in detail. There is a chance that this is potentially just a temporal limitation of the beta version that was handed out to preorderers which since then could have been fixed. We will see when the next version comes around. Best report it properly so it can get looked into

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Headless linux server 2 Answers

Console Application 0 Answers

Unity batchmode open command line 0 Answers

Anchor point moving when connected to Server 1 Answer

Unity networking tutorial? 6 Answers


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