- Home /
No response from AWS in android build?
I am implementing the AWS Unity SDK in Unity 2020.3.14
I am using it to make asynchronous calls to AWS Lambda.
Here is an example of how I am making said calls:
client.InvokeAsync(new InvokeRequest()
{
FunctionName = FUNCTION_NAME,
Payload = GetRequest().Format(GetEventFormat())
}, (result) =>
{
// This code is reached in the editor but not in builds
});
This works in the editor, but in a build, the asynchronous invocation calls are reached, but the callback is never reached. There are no errors in the console with the attached profiler, nor are there any errors when I use logcat. There simply doesn't seem to be a response.
The error is either with the AWS SDK I am using, with the authentication AWS requires, or with how Unity is handling the web requests the SDK is sending to Lambda, but without error messages, and since I can't really look effectively through the SDK code itself, I have no idea where to find and fix the problem.
Please how I could find and fix this issue so the Lambda asynchronous invocations work on iOS and Android builds.
Your answer
Follow this Question
Related Questions
Asynchronous socket hangs intermittently on iOS 1 Answer
Mirror: Can't connect to Oculus Quest 2 (Android) Host - Instant Disconnect 1 Answer
Downloading large files from AWS S3 to Android 0 Answers
Photon disconnect after switching from mobile data to WIFI 1 Answer
Async load progress issue on Gear VR 0 Answers