Using AWS GameLift as Dedicated Server for Unreal Engine | Multiplayer
ฝัง
- เผยแพร่เมื่อ 22 พ.ค. 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...
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
Works like a charm! Any plans on flexmatch making tutorial?
Bless you good sir
Remember to delete the Fleet and Build if you are testing to avoid unexpected charges.
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!
Thank you for tutorial , Any chance for Gamelift Anywhere and Linux based server (less costs)?
Hi sir. When we access Firestore data, should we do it on the client or server?
Any other videos on Angular Project 1: Building a Social Media Site ?? It is the only resource available in TH-cam.
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?
And how to make the "open {IP}" console command to be executed automatically?
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
i can't package Error MSB3073 using 5.1 and 5.2 what can i do?
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
Thats true any idea for a better way to get familiar with this as i am unable to upload the fleet
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?
you have to use both
You need to get the previous versions if you want to follow along with the video.
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?
Sure, did you add the OpenSDK files to your packaged project?
Those are needed and can cause that issue.
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.
Hallo there, i have no AmazonGameLiftFullAccess on iam set permission, so i cant upload the build. how i can solve this ?
it doesn't show up for me either,
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.
To fix this issue I installed a lower version of OpenSSL preferably OpenSSL v3.0.12
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.
@@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!
you missed the gamelift full access policy part
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
Verify that the region specified in the fleet ID matches the region you're running the AWS CLI command from
not work on mobile ?
AmazonGameLiftFullAccess doesn't appear for me, what do I do?
Hey there! Same for me. I created a new profile and granted full access to GameLift. Hope that helps
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "gamelift:*",
"Resource": "*"
}
]
}
Create AmazonGameLiftFullAccess
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
Anyone any help on this i am stuck on this and cant understand how to solve this
@@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".
@@talleuxraphael4679 yes i am using the version 5.1.1 but will look at it again
@@talleuxraphael4679 for the open ssl what do you mean by two different versions
@@talleuxraphael4679 just checked i only have one version of open ssl 3.1.3
can I implement this to UE 5.3?
Yes, I did it now and everything is working
@@user-qj2xk7vo6k 👍👍
@@user-qj2xk7vo6k thanks for the answer
@@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
building is taking me HOURS. At this rate I won't be done building for another 10 hours 😭
Hlo sir
Could you please do a tutorial on player profile and player lobby ui for battle royale game like PUBG and Free Fire
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!
I've had these issues too, I found out if you get openssl v1.1.1w it ends up working
Thanks that did work@@navjav895
@@nomadic626 did the rest work? i cant create a fleet still
@@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
@codeible please help
AmazonGameLiftFullAccess doesn't appear for me, what do I do?
Same :(
You need to create one yourself eg. make one with custom rules.
how to create
@@shacking956 Did you find a solution?
@@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