YetiTech-Studios / UE4GameLiftClientSDK

Gamelift Client SDK for Unreal Engine 4.
MIT License
79 stars 41 forks source link

LogGameLiftClient: Error: [UGameLiftDescribeGameSession::OnDescribeGameSessionState] Received OnDescribeGameSessionState with failed outcome. Error: Unable to parse ExceptionName: ApiNotSupportedException Message: API GameLift.DescribeGameSessionDetails is not recognized by GameLift Local. #8

Closed MaxRavitsky closed 6 years ago

MaxRavitsky commented 6 years ago

Hi guys, im testing my client and server with gamelift. Followed your guide to integrate it in my client.

I've configured gamelift for local testing using gamelift local (https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing-local.html) But when i call DescribeSession node from blueprint i get an error: LogGameLiftClient: Error: [UGameLiftDescribeGameSession::OnDescribeGameSessionState] Received OnDescribeGameSessionState with failed outcome. Error: Unable to parse ExceptionName: ApiNotSupportedException Message: API GameLift.DescribeGameSessionDetails is not recognized by GameLift Local.

Here is Gamelift Local Console output default

chiefGui commented 6 years ago

This is the expected behavior when the outcome from GameLift is unsuccessful. The real issue is most likely to be in a wrong GameSessionId.

The line that has thrown your error:

https://github.com/YetiTech-Studios/UE4GameLiftClientSDK/blob/1f2ce3bd3af7b9abf14e6bb747557b39b32dc20e/GameLiftClientSDK/Source/GameLiftClientSDK/Private/GameLiftClientApi.cpp#L159

chiefGui commented 6 years ago

Nah, pardon me, bad information above.

Seems like this is an error on the plug-in itself. If you have C++ knowledge, place a pull request, otherwise let's wait for the author @ryanjon2040 to give us a feedback on how to proceed with this.

SyedAman commented 6 years ago

I think OnDescribeGameSessionState is not supported in AWS Gamelift Local

ryanjon2040 commented 6 years ago

Sorry for the delayed response.

Certain API calls are not supported by GameLift plugin. This is a limitation from Amazon itself and not a bug.

SyedAman commented 6 years ago

@ryanjon2040 you mean they are not supported by Amazon Gamelift Local, not the official Gamelift service.

Correct?

ryanjon2040 commented 5 years ago

@SyedAman Yes they are not supported by GameLift Local but they work in actual Gamelift service.