Unity plugin for Gamelift failing to deploy
I am using the unity plugin for gamelift and it failing to deploy the sample cloud formations. When I look at the event log in the cloud formation rollout I see the following:
Resource handler returned message: "Error occurred during operation 'AWS::GameLift::Fleet'." (RequestToken: ..............., HandlerErrorCode: GeneralServiceException)
Now, the page for the AWS gamelift unity plugin does say that this can occur for scenarios 4 and 5 if you are outside of your service limit due to billing concerns. However, this occurs for me on EVERY sample cloud formation, and its on an account that has been paying amazon and is in good standing. Further, when I check the gamelift service limits page it shows that I am inside my limits for the types of instances in the cloud formation.
Any ideas on how I can get around this or what to do?
Hello, have you additionally checked your fleet limits to see if you require a limit increase for the number of fleets in that particular region? If that doesn't turn out to be the issue, could you post the complete stack trace of the error so we can help understand what the issue could possibly be?
Ok, it took me a while but I managed to fix it.
Somehow a fleet existed in an error state in my account, deleting it fixed this. It still seems weird to me that this was the problem though, 1 fleet shouldn't have caused everything else to get blocked. I imagine that it should have also been deleted when previous failures to start caused rollbacks.
But I am unblocked on development now. Thank you for responding in a speedy fashion.
Glad to hear you're unblocked! Thanks for using GameLift. Please follow the below steps to reach out to AWS customer support, and they can help increase your fleet limit to help get unblocked for future development.
- Go to https://us-west-2.console.aws.amazon.com/servicequotas/home/services/gamelift/quotas.
- Select "Fleets per region". The value here should indicate what your fleet limit is in that particular region. This is different from instance type limits.
- Select "Request Quota Increase" and provide your new required limits.
- Click Request.
Relevant questions
GameLift Plug-in for Unity now available
asked 9 months agoFSX custom backup cloud formation template Failing to create stack
asked 3 years agoBuilding the GameLift Server SDK plugin for Unreal Engine versions greater than 4.21
Accepted Answerasked 2 years agoGamelift Unity Ubuntu Build Failed
asked 2 years agoException Running the Sample GameLift Code from AWS
Accepted Answerasked a year agoCreate client in Unity
Accepted Answerasked 5 years agoUnity plugin for Gamelift failing to deploy
asked 14 days agogamelift client NetworkReachability cunstructor missing in Unity build
asked a month agoSupport for Unity 2019 in GameLift Realtime Client SDK
asked 2 years agoHelp for implementing GameLift in Unity
Accepted Answerasked 2 years ago
I assume you mean the service limits that are here: https://us-west-2.console.aws.amazon.com/gamelift/home?region=us-west-2#/limits ?
I have what I assume are default settings which allow for up to two of most instance types. (including the ones that the unity plugin samples AWS provides uses) I have never changed anything here.
Is there some other limit I am not aware of?
I have not added my own logic to the aws gamelift unity plugin. I am using it exactly as provided.
The error I provided is the only one. Until it hits "FleetResource" everything succeeds.
This is the first cloud formation error that I see:
2022-06-20 13:46:26 UTC-0400 FleetResource CREATE_FAILED Resource handler returned message: "Error occurred during operation 'AWS::GameLift::Fleet'." (RequestToken: 73f4a1f4-b7ae-55d6-0c96-92a14e636aac, HandlerErrorCode: GeneralServiceException)
I would very much like to port my game to gamelift, but I am having a hard time getting past this part.
I should also note that the only sample in the unity plugin that succeeds is the 'auth only' sample. But of course, I need an actual gamelift fleet to use with my game. :)