amazon-gamelift

How to integrate GameLift with Unity3d as a game client

柔情痞子 提交于 2020-01-03 05:04:31
问题 I am trying to use a Unity3d game as GameList client. According to the GameLift forum, it seems Amazon does not recommend to use a game client as a GameLift client directly. But I want to give it a try because I do not want one more separate game service. The first step is downloading AWS SDK source code from GitHub and building the .net35 version dll; Put the AWSSDK.Core.dll and AWSSDK.GameLift.dll into /Assets/Plugins; Create a new derived class from MonoBehaviour to create the

Failed to create AmazonGameLiftClient in Unity3d

与世无争的帅哥 提交于 2019-12-23 12:01:19
问题 I use below code to create GameClient in Unity3d: AmazonGameLiftClient client = new AmazonGameLiftClient("accessKeyId", "accessKey", RegionEndpoint.CNNorth1); Above code is the first line in Awake(), no any other leading codes. I get below error: NullReferenceException: Object reference not set to an instance of an object Amazon.CSMSection.get_CSMEnabled () Amazon.Util.CSMConfig.Configure (Amazon.CSMSection section) Amazon.Util.Internal.RootConfig..ctor () Amazon.AWSConfigs..cctor () Rethrow