{"id":181,"date":"2015-07-07T23:12:10","date_gmt":"2015-07-07T21:12:10","guid":{"rendered":"http:\/\/www.bellingo.de\/blog\/?p=169"},"modified":"2015-09-05T22:50:35","modified_gmt":"2015-09-05T20:50:35","slug":"unity-in-batchmode-for-pros-only","status":"publish","type":"post","link":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/","title":{"rendered":"Unity in batchmode: for Pros only"},"content":{"rendered":"<p>For a few months now I&#8217;ve been fiddling about my own small multiplayer game using Unity. Basic versions of client and server are now in a state where you can play the first games, at least in my home network. But of course the goal is to play the game over the Internet, so I chose to host the server in the cloud of Amazon&#8217;s Web Services (AWS). Setting up your own server there is a separate chapter, which I will hopefully be able to tell later. It turned out that Unity and AWS don&#8217;t work together for amateurs like me.<!--more--><\/p>\n<p>After some back and forth I had my Ubuntu instance in Amazon&#8217;s Elastic Compute Cloud (ec2) at a point where I could start my server. But what I had imagined to work so easily finally flatlined thanks to Unity. In order to start a server without a window manager you can use the command line parameter &#8222;-batchmode&#8220;. When applied, your Unity-made game does not open a window when starting. Unfortunately, instead of starting the game server bid farewell with the following message found in its log file:<\/p>\n<p><code>\"-batchmode\" command line argument is only available when publishing using Unity Pro.<\/code><\/p>\n<figure id=\"attachment_172\" aria-describedby=\"caption-attachment-172\" style=\"width: 300px\" class=\"wp-caption alignright\"><a href=\"https:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-172\" src=\"https:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png\" alt=\"Log file\" width=\"300\" height=\"189\" srcset=\"https:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png 300w, https:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode.png 680w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-172\" class=\"wp-caption-text\">Log output when starting the batch.<\/figcaption><\/figure>\n<p>This is definitely annoying since Unity does not tell you on its <a href=\"https:\/\/unity3d.com\/get-unity\">official page<\/a> that this is a Pro feature. So, a lot of time spent to no avail. Even in the Unity forum there was <a href=\"http:\/\/forum.unity3d.com\/threads\/batchmode-nographics-ec2-provagueness.229446\/\">just a single post<\/a> to be found which mentions that this actually applies to Unity 4. To spare you the search: with Unity 5 you need a Pro license for batchmode as well. I&#8217;ve checked.<\/p>\n<p>What to do? I don&#8217;t know yet, but if I find a solution I will post it here, of course.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a few months now I&#8217;ve been fiddling about my own small multiplayer game using Unity. Basic versions of client and server are now in a state where you can play the first games, at least in my home network. But of course the goal is to play the game over the Internet, so I &hellip; <a href=\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/\" class=\"more-link\"><span class=\"screen-reader-text\">Unity in batchmode: for Pros only<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,55],"tags":[63,65,67],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-game-development","category-unity-en","tag-aws-en","tag-batchmode-en","tag-unity-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unity in batchmode: for Pros only - Games:Tech:Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unity in batchmode: for Pros only - Games:Tech:Blog\" \/>\n<meta property=\"og:description\" content=\"For a few months now I&#8217;ve been fiddling about my own small multiplayer game using Unity. Basic versions of client and server are now in a state where you can play the first games, at least in my home network. But of course the goal is to play the game over the Internet, so I &hellip; Unity in batchmode: for Pros only weiterlesen\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/\" \/>\n<meta property=\"og:site_name\" content=\"Games:Tech:Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-07T21:12:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-05T20:50:35+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png\" \/>\n<meta name=\"author\" content=\"Ingo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ingo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/\"},\"author\":{\"name\":\"Ingo\",\"@id\":\"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/82498f8ac21d11f5948cab6d0a9807e9\"},\"headline\":\"Unity in batchmode: for Pros only\",\"datePublished\":\"2015-07-07T21:12:10+00:00\",\"dateModified\":\"2015-09-05T20:50:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/\"},\"wordCount\":296,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/82498f8ac21d11f5948cab6d0a9807e9\"},\"image\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png\",\"keywords\":[\"AWS\",\"batchmode\",\"Unity\"],\"articleSection\":[\"Game development\",\"Unity\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/\",\"url\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/\",\"name\":\"Unity in batchmode: for Pros only - Games:Tech:Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png\",\"datePublished\":\"2015-07-07T21:12:10+00:00\",\"dateModified\":\"2015-09-05T20:50:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#primaryimage\",\"url\":\"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png\",\"contentUrl\":\"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.bellingo.de\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unity in batchmode: for Pros only\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bellingo.de\/blog\/#website\",\"url\":\"https:\/\/www.bellingo.de\/blog\/\",\"name\":\"Games:Tech:Blog\",\"description\":\"A Blog about Games, Technology in Games, and Technology in General\",\"publisher\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/82498f8ac21d11f5948cab6d0a9807e9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bellingo.de\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/82498f8ac21d11f5948cab6d0a9807e9\",\"name\":\"Ingo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/93a4b9881ee1983f4fafc7e996ce82a42c3a1540c18f7417809c08a19658f167?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/93a4b9881ee1983f4fafc7e996ce82a42c3a1540c18f7417809c08a19658f167?s=96&d=mm&r=g\",\"caption\":\"Ingo\"},\"logo\":{\"@id\":\"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.bellingo.de\/blog\/author\/ingo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unity in batchmode: for Pros only - Games:Tech:Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/","og_locale":"de_DE","og_type":"article","og_title":"Unity in batchmode: for Pros only - Games:Tech:Blog","og_description":"For a few months now I&#8217;ve been fiddling about my own small multiplayer game using Unity. Basic versions of client and server are now in a state where you can play the first games, at least in my home network. But of course the goal is to play the game over the Internet, so I &hellip; Unity in batchmode: for Pros only weiterlesen","og_url":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/","og_site_name":"Games:Tech:Blog","article_published_time":"2015-07-07T21:12:10+00:00","article_modified_time":"2015-09-05T20:50:35+00:00","og_image":[{"url":"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png","type":"","width":"","height":""}],"author":"Ingo","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Ingo","Gesch\u00e4tzte Lesezeit":"2\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#article","isPartOf":{"@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/"},"author":{"name":"Ingo","@id":"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/82498f8ac21d11f5948cab6d0a9807e9"},"headline":"Unity in batchmode: for Pros only","datePublished":"2015-07-07T21:12:10+00:00","dateModified":"2015-09-05T20:50:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/"},"wordCount":296,"commentCount":0,"publisher":{"@id":"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/82498f8ac21d11f5948cab6d0a9807e9"},"image":{"@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#primaryimage"},"thumbnailUrl":"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png","keywords":["AWS","batchmode","Unity"],"articleSection":["Game development","Unity"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/","url":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/","name":"Unity in batchmode: for Pros only - Games:Tech:Blog","isPartOf":{"@id":"https:\/\/www.bellingo.de\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#primaryimage"},"image":{"@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#primaryimage"},"thumbnailUrl":"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png","datePublished":"2015-07-07T21:12:10+00:00","dateModified":"2015-09-05T20:50:35+00:00","breadcrumb":{"@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#primaryimage","url":"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png","contentUrl":"http:\/\/www.bellingo.de\/blog\/wp-content\/uploads\/2015\/07\/batchmode-300x189.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bellingo.de\/blog\/unity-in-batchmode-for-pros-only\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bellingo.de\/blog\/"},{"@type":"ListItem","position":2,"name":"Unity in batchmode: for Pros only"}]},{"@type":"WebSite","@id":"https:\/\/www.bellingo.de\/blog\/#website","url":"https:\/\/www.bellingo.de\/blog\/","name":"Games:Tech:Blog","description":"A Blog about Games, Technology in Games, and Technology in General","publisher":{"@id":"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/82498f8ac21d11f5948cab6d0a9807e9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bellingo.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":["Person","Organization"],"@id":"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/82498f8ac21d11f5948cab6d0a9807e9","name":"Ingo","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/93a4b9881ee1983f4fafc7e996ce82a42c3a1540c18f7417809c08a19658f167?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93a4b9881ee1983f4fafc7e996ce82a42c3a1540c18f7417809c08a19658f167?s=96&d=mm&r=g","caption":"Ingo"},"logo":{"@id":"https:\/\/www.bellingo.de\/blog\/#\/schema\/person\/image\/"},"url":"https:\/\/www.bellingo.de\/blog\/author\/ingo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":5,"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":187,"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/posts\/181\/revisions\/187"}],"wp:attachment":[{"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bellingo.de\/blog\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}