gamelift client NetworkReachability cunstructor missing in Unity build
0
I get the following exception during runtime on android:
MissingMethodException: Default constructor not found for type Amazon.Util.Internal.PlatformServices.NetworkReachability
The code below is executed:
var client = new AmazonGameLiftClient(
"<accesskey>",
"<secret>",
new AmazonGameLiftConfig { UseAlternateUserAgentHeader = false, RegionEndpoint = RegionEndpoint.USEast1 }
);
I didn't have any issues running the game client on windows and the server running on linux.
asked a month ago22 views
1 Answers
0
Hi @gabetoth, Have you taken a look at this guide which lists out special considerations for Unity support, when using the AWS SDK? https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/unity-special.html
Commonly, this seems to be an issue with not adding a link.xml file to the Assets folder, that lists all AWSSDK assemblies being used. Could you try this to see if it solves your problem?
answered 17 days ago
Relevant questions
gamelift client NetworkReachability cunstructor missing in Unity build
asked a month agoGameLift Plug-in for Unity now available
asked 9 months agoLooking for Flexmatch process flow, How to and/or samples (Unity client)
asked 4 months agoGamelift Realtime (Unity C# SDK) - DTLS Crashing | Reproduction Case
asked 2 years agoGamelift Unity Ubuntu Build Failed
asked 2 years agoCreate client in Unity
Accepted Answerasked 5 years agoUnity plugin for Gamelift failing to deploy
asked 14 days agoException Running the Sample GameLift Code from AWS
Accepted Answerasked a year agoGamelift RTS Ios build Problem
asked 2 years agoSupport for Unity 2019 in GameLift Realtime Client SDK
asked 2 years ago