- Newest
- Most votes
- Most comments
So it is a newbie mistake, I though that restoring the package was enough, given my impression was all the required dependencies were already listed, turns out you need to get the AWS SDKs from Nuget.
Now I bumped into a different problem building the game
Assets/GameNetworkManager.cs(47,9): error CS0103: The name 'UnityInitializer' does not exist in the current context
Assets/GameNetworkManager.cs(131,20): error CS0117: 'AWSConfigs' does not contain a definition for 'HttpClient'
Assets/GameNetworkManager.cs(131,44): error CS0117: 'AWSConfigs' does not contain a definition for 'HttpClientOption'
Assets/GameNetworkManager.cs(158,28): error CS1503: Argument 1: cannot convert from 'Amazon.Lambda.Model.InvokeRequest' to 'string'
Assets/GameNetworkManager.cs(159,13): error CS1660: Cannot convert lambda expression to type 'string' because it is not a delegate type
I tried to use both new and the old monolithic AWSSDK from nuget, all produce the error, anyone have any clue how to solve the problem? or am I also bumped into yet another newbie problem?
Thanks!
Did you ever solve this? I ran into those errors too with unityinitializer, AWSConfigs and so on.
Same problem here. It looks like the tutorial is out of date, as are many of the GameLift SDK and AWS for Unity instructions. The more I dig, the more it looks like AWS has abandoned GameLift for Unity.
Hi @REDACTEDUSER
We are in the process of improving our onboarding experience to Unity. We will announce on this forum as well as the release notes when that occurs.
I see that the repo that you are using is out of date, which is our fault as we should have deprecated it earlier. We will address this immediately.
The reason why you are running into the issue is because the mobile SDK for unity has been archived, and it's advised to use SDK for .NET instead.
In the meantime until our Unity onboarding experience improvement is released, could you please try following the GameLift example in https://github.com/aws-samples/aws-gamelift-and-serverless-backend-sample instead? Especially take a look at "Preliminary Setup" section in the README on how to download and build the SDKs.
Relevant content
- asked 5 years ago
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago