Using AWS GameLift as Dedicated Server for Unreal Engine | Multiplayer

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • 0:00 - Instroduction
    0:14 - Linking your Github Account
    2:29 - Downloading the Unreal Engine Source Code with Github Desktop App
    4:16 - Visual Studio
    5:30 - Generating the UE sln File
    7:01 - Building and Launching Unreal Engine
    8:06 - Building the GameLift Server SDK and plugin
    19:05 - Adding the GameLift Server SDK to Unreal Project
    24:24 - Adding the GameLift code
    27:22 - Creating the Server Executable
    28:17 - Creating the Install file
    30:25 - AWS CLI Setup
    34:09 - Uploading the build to GameLift
    35:28 - Creating the Fleet
    38:19 - Testing Multiplayer
    UE 4.27, UE 5.0, UE 5.1, UE 5.2
    Hello, in this video, I’ll show you how to build and upload your Unreal Engine game to GameLift for multiplayer.
    AWS Unreal Engine Docs:
    docs.aws.amazon.com/gamelift/...
    AWS Upload Command:
    aws gamelift upload-build --name "" --operating-system WINDOWS_2016 --server-sdk-version "" --build-root "" --build-version "" --region us-east-1
    AWS Create Game Session Command:
    aws gamelift create-game-session --fleet-id --maximum-player-session-count 2 --location
    If you find this video helpful, please Like, Share, and Subscribe to support the channel!
    Codeible App:
    play.google.com/console/u/0/d...
    Codeible website:
    codeible.com/
    Loop Clicker:
    play.google.com/store/apps/de...
    Loop Clicker Website:
    loopclicker.web.app/
    Support Codeible on Patreon!
    / codeible
    Reddit:
    / codeible
    Follow on Pinterest:
    / codeible
    Follow on Instagram:
    / codeibleig
    Follow on Twitter:
    intent/follow?ori...

Komentáře • 60

  • @Codeible
    @Codeible  Před rokem +5

    Remember to delete the Fleet and Build if you are testing to avoid unexpected charges.

    • @tioalison
      @tioalison Před 6 měsíci

      Hi, I found your video very helpful! Just a quick question, do you know the exact cost of using an AWS server for testing purposes? I only want to test my game and won't be opening it for gaming at this stage. Thanks!

  • @kaboofin
    @kaboofin Před 11 měsíci

    Bless you good sir

  • @SurajPandya
    @SurajPandya Před rokem +1

    You are awesome dude. Thank you for this tutorial. Need one more tutorial on how to host pixelstream on website with unreal engine 5.2

    • @udoma8
      @udoma8 Před 14 dny

      Did you get this done ?

  • @slipknot1943
    @slipknot1943 Před 10 měsíci

    Works like a charm! Any plans on flexmatch making tutorial?

  • @NortandoGames
    @NortandoGames Před 9 měsíci +3

    Honestly, until someone makes a full on tutorial on the ins and outs of dedicated servers and server management these tutorials are kind of pointless. If we cant even wrap our heads deploying a simple server this will never ever stick

    • @umernaveed6936
      @umernaveed6936 Před 9 měsíci

      Thats true any idea for a better way to get familiar with this as i am unable to upload the fleet

  • @hassanalhobail8084
    @hassanalhobail8084 Před 6 měsíci

    Hi sir. When we access Firestore data, should we do it on the client or server?

  • @myasga
    @myasga Před 10 měsíci

    Thank you for tutorial , Any chance for Gamelift Anywhere and Linux based server (less costs)?

  • @swiftymartine
    @swiftymartine Před 4 měsíci

    And how to make the "open {IP}" console command to be executed automatically?

  • @Gnda3e
    @Gnda3e Před 10 měsíci

    i can't package Error MSB3073 using 5.1 and 5.2 what can i do?

  • @cyberspace1754
    @cyberspace1754 Před 4 měsíci

    Please help , how to solve these error coming during fleet activation -
    Unable to find customer security group for fleet
    Resource fleet is not in a taggable state

  • @athul03
    @athul03 Před 5 měsíci

    Any other videos on Angular Project 1: Building a Social Media Site ?? It is the only resource available in CZcams.

  • @ANUBIS_game_dev
    @ANUBIS_game_dev Před 8 měsíci

    not work on mobile ?

  • @SurajPandya
    @SurajPandya Před 10 měsíci +1

    Can You Teach Us How to setup STUN and Turn Server for Pixel Streaming on website. I want to deploy my unreal packaged EXE file on my own Website. Currently I can only execute on local server. So Can you please make a tutorial on it?

  • @cyberspace1754
    @cyberspace1754 Před 3 měsíci

    you missed the gamelift full access policy part

  • @user-bp5ph5zs2x
    @user-bp5ph5zs2x Před 10 měsíci +3

    Hallo there, i have no AmazonGameLiftFullAccess on iam set permission, so i cant upload the build. how i can solve this ?

  • @devpatel8276
    @devpatel8276 Před 11 měsíci +1

    Thank you very much for this tutorial sir! I am stuck at activating the Fleet, it doesn't activate and throws a "The server process did not call InitSDK() within the time expected." error. Can you please help me figure out what is the issue?

    • @Codeible
      @Codeible  Před 11 měsíci

      Sure, did you add the OpenSDK files to your packaged project?
      Those are needed and can cause that issue.

    • @andredealmeida7108
      @andredealmeida7108 Před 8 měsíci +1

      You saved me hours of a headache on this one. I missed that they went in the server exe folder and not the root folder. Was about to tear my hair out.

  • @collinsmicrosystems8010
    @collinsmicrosystems8010 Před 10 měsíci

    Thank you very much for the tutorial.......i have created the fleet and it says its Active but i am getting this error,,,,,,,An error occurred (NotFoundException) when calling the CreateGameSession operation: Cannot find fleet with ID xxxxxxx and i have provided the right fleet id

    • @andrearojas8548
      @andrearojas8548 Před 4 měsíci

      Verify that the region specified in the fleet ID matches the region you're running the AWS CLI command from

  • @Hope-kf1nl
    @Hope-kf1nl Před 10 měsíci +2

    Codeible, please provide clarification here. AWS updated the download page and there are 2 SDKs:
    1. C++ Server SDK
    2. C++ Server SDK Plugin for Unreal
    I tried installing C++ Server SDK Plugin for Unreal (2) and the README file talks about using cmake, however, this SDK doesn't have any cmake files or a CMakeLists.txt
    This has created a lot of confusion, could you please address?

    • @Gnda3e
      @Gnda3e Před 10 měsíci

      you have to use both

    • @andredealmeida7108
      @andredealmeida7108 Před 8 měsíci

      You need to get the previous versions if you want to follow along with the video.

  • @franklingamedev
    @franklingamedev Před 7 měsíci +2

    Hello, i'm getting the following error: " Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
    system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found
    version "3.2.0")".
    I've tried everything and couldn't resolve it. Any ideas? Thanks.

    • @davee_ola
      @davee_ola Před 7 měsíci +1

      To fix this issue I installed a lower version of OpenSSL preferably OpenSSL v3.0.12

    • @The_Pumpkin_Lady
      @The_Pumpkin_Lady Před 6 měsíci +1

      Did you find a fix for this? I'm getting the exact same error on my side.
      I have confirmed path variables but note the video differs from the readme. The video suggests OPENSSL_ROOT_DIR should be while the readme suggests it should be \OpenSSL.
      But I get the same error regardless.
      Also tried the below commenter's suggestion of downgrading the OpenSSL version, but that didn't help.

    • @tioalison
      @tioalison Před 5 měsíci +2

      ​@@The_Pumpkin_LadyHey, folks! After some time, I figured it out: double-check if inside your SSL Lib folder exist the files OR it's inside a 'deeper folder.' I need to change the OPENSSL_LIBRARIES to \lib\VC\x64\MD. If you pay attention, in the video, you see the files in lib, but in the installation, it's blank. Hope that helps!

  • @berketolga
    @berketolga Před 9 měsíci +1

    AmazonGameLiftFullAccess doesn't appear for me, what do I do?

    • @tioalison
      @tioalison Před 5 měsíci

      Hey there! Same for me. I created a new profile and granted full access to GameLift. Hope that helps

    • @user-fn3we3py2u
      @user-fn3we3py2u Před 3 měsíci

      {
      "Version": "2012-10-17",
      "Statement": [
      {
      "Effect": "Allow",
      "Action": "gamelift:*",
      "Resource": "*"
      }
      ]
      }
      Create AmazonGameLiftFullAccess

  • @umernaveed6936
    @umernaveed6936 Před 9 měsíci

    I am getting this error I have tried everything but it dosent work "The server process did not call InitSDK() within the time expected. Check your game session log to see why InitSDK() was not called in time." can anyone help

    • @umernaveed6936
      @umernaveed6936 Před 9 měsíci

      Anyone any help on this i am stuck on this and cant understand how to solve this

    • @talleuxraphael4679
      @talleuxraphael4679 Před 9 měsíci

      @@umernaveed6936 This can be due to 2 things:
      - 2 different OpenSSL versions
      - The upload-build command, which must have a --server-sdk-version parameter "HERE IS THE RIGHT EX VERSION: 5.1.1".

    • @umernaveed6936
      @umernaveed6936 Před 9 měsíci

      @@talleuxraphael4679 yes i am using the version 5.1.1 but will look at it again

    • @umernaveed6936
      @umernaveed6936 Před 9 měsíci

      @@talleuxraphael4679 for the open ssl what do you mean by two different versions

    • @umernaveed6936
      @umernaveed6936 Před 9 měsíci

      @@talleuxraphael4679 just checked i only have one version of open ssl 3.1.3

  • @luqmangrune7015
    @luqmangrune7015 Před 10 měsíci

    can I implement this to UE 5.3?

    • @user-qj2xk7vo6k
      @user-qj2xk7vo6k Před 9 měsíci +2

      Yes, I did it now and everything is working

    • @fury1072
      @fury1072 Před 9 měsíci

      @@user-qj2xk7vo6k 👍👍

    • @luqmangrune7015
      @luqmangrune7015 Před 9 měsíci

      @@user-qj2xk7vo6k thanks for the answer

    • @thamashwerago3603
      @thamashwerago3603 Před 9 měsíci

      @@user-qj2xk7vo6k i can't get aws-cpp-sdk-gamelift-server.dll and aws-cpp-sdk-gamelift-server.lib can you help me I'm using UE5.3

  • @durgaprasadgamingofc
    @durgaprasadgamingofc Před 8 měsíci

    Hlo sir
    Could you please do a tutorial on player profile and player lobby ui for battle royale game like PUBG and Free Fire

  • @zerohcrows
    @zerohcrows Před 5 měsíci

    building is taking me HOURS. At this rate I won't be done building for another 10 hours 😭

  • @nomadic626
    @nomadic626 Před 5 měsíci +1

    2024 here such of a waste of a long video when the resources provided in here just leads to hours of a rabbit hole of malfunctioning, the openssl installers are just broken and the enviroment variables setup leads to nowhere, when building the SDK an error that can't find openssl leads to a rabit hole of errors and nothing for a fix. such a waste of time!

    • @navjav895
      @navjav895 Před 5 měsíci +1

      I've had these issues too, I found out if you get openssl v1.1.1w it ends up working

    • @nomadic626
      @nomadic626 Před 5 měsíci

      Thanks that did work@@navjav895

    • @navjav895
      @navjav895 Před 5 měsíci

      @@nomadic626 did the rest work? i cant create a fleet still

    • @nomadic626
      @nomadic626 Před 5 měsíci

      @@navjav895 I haven't gotten to that point yet as i have to rebuild my Client game to test, but the plugin did install correctly

  • @cyberspace1754
    @cyberspace1754 Před 4 měsíci

    @codeible please help

  • @Edson_gamedev
    @Edson_gamedev Před 9 měsíci

    AmazonGameLiftFullAccess doesn't appear for me, what do I do?

    • @yepjames
      @yepjames Před 9 měsíci

      Same :(

    • @slipknot1943
      @slipknot1943 Před 9 měsíci

      You need to create one yourself eg. make one with custom rules.

    • @shacking956
      @shacking956 Před 9 měsíci

      how to create

    • @berketolga
      @berketolga Před 9 měsíci

      @@shacking956 Did you find a solution?

    • @slipknot1943
      @slipknot1943 Před 9 měsíci +2

      @@shacking956 @shacking956 Go into IAM, policies, create policy, give it all permissions (or the ones you want) then name it, in this case it is AmazonGameLiftFullAccess and continue the tutorial