Unity.app hangs until it needs to be forced closed when debugging using Amazon's unity sdk

When I install aws-unity-sdk-1.0.1-CognitoSync.unitypackage (Full Stack Development - Web and Mobile Apps - AWS Amplify - https://s3.amazonaws.com/aws-unity-sdk/latest/aws-unity-sdk-1.0.1.zip) from the latest update, if I connect the debugger, step through a few things (or not), and then let it continue, or disconnect, or step over the creation of a CognitoAWSCredentials, Unity crashes and hangs, until I eventually have to force close it.

Example of this here,

and the exact project is on our github, here GitHub - SixMinute/CognitoCrashes: Example Cognito Crash, nothing else installed except the unitypackage.

This particular example is with Cognito, but we’re using all of Cognito, S3 and DynamoDB in our game, and this is severely affecting us developing our game, as we encounter many of these types of hangs since we brought in this package’s code.

I’ve reached out to Amazon as well on their github, Force close crash when debugging (example is with Cognito, but it's pretty consistent throughout) · Issue #20 · amazon-archives/aws-sdk-unity · GitHub, as well as submitting a bug report too.

1 Like

@seader
I still see this issue in v2.1 and v3.0
Is this issue really fixed? AWS SDK hangs the game at numerous occasions especially when calling GetCognitoIdentity which internally try to refresh the credentials.

Does AWS unity SDK ever worked for you? If so, which version of AWS and Unity?

Thanks