{"id":5793,"date":"2021-05-20T22:42:50","date_gmt":"2021-05-20T22:42:50","guid":{"rendered":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/"},"modified":"2022-02-23T13:48:40","modified_gmt":"2022-02-23T13:48:40","slug":"initializing","status":"publish","type":"docs","link":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/","title":{"rendered":"Initializing"},"content":{"rendered":"\n<p>Using our newly created Policy &amp; User credentials we can&nbsp;<strong>Initialize GameLift<\/strong>&nbsp;inside Unreal Engine.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"871\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject-1024x871.png\" alt=\"\" class=\"wp-image-3069\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject-1024x871.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject-300x255.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject-768x654.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject.png 1269w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"select-your-region\"><strong>SELECT YOUR REGION<\/strong><a href=\"https:\/\/eeldev.com\/index.php\/docs\/s3\/getting-started\/#select-your-region\"><\/a><\/h2>\n\n\n\n<p>Make sure to select the correct region that you are going to use for your AWS services, double check that you do not misspell the region name as that will cause connection issues.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-23-144133.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-23-144133-1024x527.png\" alt=\"\" class=\"wp-image-7944\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-23-144133-1024x527.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-23-144133-300x154.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-23-144133-768x395.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-23-144133-1536x790.png 1536w, https:\/\/eeldev.com\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-23-144133-2048x1053.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>CALLBACK<\/strong><\/h2>\n\n\n\n<p>You have to <strong>wait <\/strong>for the <strong>callback <\/strong>to execute before calling any <strong>GameLiftClient <\/strong>functionality, otherwise your project will assert<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/callback.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"973\" height=\"675\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/callback.png\" alt=\"\" class=\"wp-image-7528\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/callback.png 973w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/callback-300x208.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/callback-768x533.png 768w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>USING GAMELIFT<\/strong><\/h2>\n\n\n\n<p>After you\u2019ve \u201c<strong>Created a GameLift Object<\/strong>\u201d we can start accessing GameLift functionality!<br>You can find all&nbsp;<strong>GameLift<\/strong>&nbsp;functions by searching for&nbsp;<strong>GameLift<\/strong>&nbsp;in the&nbsp;<strong>Context menu<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_1.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"498\" height=\"477\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_1.png\" alt=\"\" class=\"wp-image-3072\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_1.png 498w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_1-300x287.png 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/a><\/figure>\n\n\n\n<p>You can use utility function \u201c<strong>GetGameLiftObject<\/strong>\u201d to get the&nbsp;<strong>last<\/strong>&nbsp;created&nbsp;<strong>GameLiftObject<\/strong>, if you create a new object then this function will return that object. You can store a&nbsp;<strong>reference<\/strong>&nbsp;to the object instead if you want to use&nbsp;<strong>multiple GameLift Objects<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_2.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"417\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_2-1024x417.png\" alt=\"\" class=\"wp-image-3073\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_2-1024x417.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_2-300x122.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_2-768x313.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/using_2.png 1309w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>FINDING SESSIONS<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/seach_game_sessions.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"626\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/seach_game_sessions-1024x626.png\" alt=\"\" class=\"wp-image-3134\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/seach_game_sessions-1024x626.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/seach_game_sessions-300x183.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/seach_game_sessions-768x469.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/seach_game_sessions.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>JOINING A SESSION<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/09ac3e758ddee10db0027aa6f6a2e868.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/09ac3e758ddee10db0027aa6f6a2e868-1024x276.png\" alt=\"\" class=\"wp-image-3223\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/09ac3e758ddee10db0027aa6f6a2e868-1024x276.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/09ac3e758ddee10db0027aa6f6a2e868-300x81.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/09ac3e758ddee10db0027aa6f6a2e868-768x207.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/09ac3e758ddee10db0027aa6f6a2e868-1536x413.png 1536w, https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/09ac3e758ddee10db0027aa6f6a2e868.png 1743w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"featured_media":0,"parent":5791,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-5793","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Initializing - eelDev<\/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:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Initializing - eelDev\" \/>\n<meta property=\"og:description\" content=\"Using our newly created Policy &amp; User credentials we can&nbsp;Initialize GameLift&nbsp;inside Unreal Engine. SELECT YOUR REGION Make sure to select the correct region that you are going to use for your AWS services, double check that you do not misspell the region name as that will cause connection issues. CALLBACK You have to wait for ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/\" \/>\n<meta property=\"og:site_name\" content=\"eelDev\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-23T13:48:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject-1024x871.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/\",\"url\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/\",\"name\":\"Initializing - eelDev\",\"isPartOf\":{\"@id\":\"https:\/\/eeldev.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject-1024x871.png\",\"datePublished\":\"2021-05-20T22:42:50+00:00\",\"dateModified\":\"2022-02-23T13:48:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#primaryimage\",\"url\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject.png\",\"contentUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject.png\",\"width\":1269,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eeldev.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GameLift\",\"item\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Client\",\"item\":\"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Initializing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eeldev.com\/#website\",\"url\":\"https:\/\/eeldev.com\/\",\"name\":\"eelDev\",\"description\":\"eelDev.com\",\"publisher\":{\"@id\":\"https:\/\/eeldev.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eeldev.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eeldev.com\/#organization\",\"name\":\"eelDev\",\"url\":\"https:\/\/eeldev.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eeldev.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png\",\"contentUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png\",\"width\":2048,\"height\":682,\"caption\":\"eelDev\"},\"image\":{\"@id\":\"https:\/\/eeldev.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Initializing - eelDev","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:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/","og_locale":"en_US","og_type":"article","og_title":"Initializing - eelDev","og_description":"Using our newly created Policy &amp; User credentials we can&nbsp;Initialize GameLift&nbsp;inside Unreal Engine. SELECT YOUR REGION Make sure to select the correct region that you are going to use for your AWS services, double check that you do not misspell the region name as that will cause connection issues. CALLBACK You have to wait for ... Read more","og_url":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/","og_site_name":"eelDev","article_modified_time":"2022-02-23T13:48:40+00:00","og_image":[{"url":"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject-1024x871.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/","url":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/","name":"Initializing - eelDev","isPartOf":{"@id":"https:\/\/eeldev.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#primaryimage"},"image":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#primaryimage"},"thumbnailUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject-1024x871.png","datePublished":"2021-05-20T22:42:50+00:00","dateModified":"2022-02-23T13:48:40+00:00","breadcrumb":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#primaryimage","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2020\/09\/createobject.png","width":1269,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/initializing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eeldev.com\/"},{"@type":"ListItem","position":2,"name":"GameLift","item":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/"},{"@type":"ListItem","position":3,"name":"Client","item":"https:\/\/eeldev.com\/index.php\/docs\/gamelift\/client\/"},{"@type":"ListItem","position":4,"name":"Initializing"}]},{"@type":"WebSite","@id":"https:\/\/eeldev.com\/#website","url":"https:\/\/eeldev.com\/","name":"eelDev","description":"eelDev.com","publisher":{"@id":"https:\/\/eeldev.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eeldev.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eeldev.com\/#organization","name":"eelDev","url":"https:\/\/eeldev.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","width":2048,"height":682,"caption":"eelDev"},"image":{"@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/5793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/comments?post=5793"}],"version-history":[{"count":6,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/5793\/revisions"}],"predecessor-version":[{"id":7955,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/5793\/revisions\/7955"}],"up":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/5791"}],"wp:attachment":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/media?parent=5793"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=5793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}