aws / amazon-gamelift-plugin-unity

The Amazon GameLift Plugin for Unity contains libraries and native UI that makes it easier to access GameLift resources and integrate GameLift into your Unity game. You can use the GameLift Unity Plugin to access GameLift APIs and deploy AWS CloudFormation templates for common gaming scenarios.
https://aws.amazon.com/gamelift/getting-started/
Apache License 2.0
76 stars 16 forks source link

Namespace error #255

Closed aktran321 closed 4 months ago

aktran321 commented 5 months ago

I created a Unity 2022.3.7f1 project, successfully downloaded the plugin, created my IAM user, gave it the proper permissions, created Anywhere Fleet, Registered compute, imported the sample game, Initialized the settings, but am unable to Launch the Server in Editor due to compilation errors.

In the GameLiftServer.cs script, the namespaces:

-Aws.GameLift -Aws.GameLift.Server

are all unrecognizable.

I have

"com.amazonaws.gamelift": "file:C:/Users/aktra/Downloads/amazon-gamelift-plugin-unity-release-2.0.0/com.amazonaws.gamelift-2.0.0.tgz",

listed in my manifest.json

Unsure what else might be causing this issue.

AWSJackson commented 4 months ago

Hello aktran321, have you imported both plugins provided in the release? That namespace error looks like you're missing the GameLift Server SDK which is an additional plugin used by the sample project. See step 2 of Install the plugin

aktran321 commented 4 months ago

Yes, thank you.

Was using this doc from the aws website and didn't realize it was slightly different.