-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aws.Crt.Auth.AwsSigner is unable to sign a request using SigV4A when using Unity for Android and iOS #2126
Comments
Needs review with the team since Unity is the special case. |
Any updates? |
@ivgnt Hello, there is an open pull request here: awslabs/aws-crt-dotnet#87 that should address the error you were seeing |
@ivgnt The update to target the new version of crt was included in version 3.7.230.0 . If this fixes your problem feel free to close this issue |
@peterrsongg Thank you! Just tested it, and everything works now. Thank you! |
|
So, everything worked fine on windows, but we see this error when building and installing the app on both Android and iOS devices
|
@ivgnt thanks for bringing this to our attention. Since the issue is with the CRT library, can you open up an issue there and reference this issue? This is the repo: https://github.com/awslabs/aws-crt-dotnet |
Closing this as the CRT is not planning to add Android support in .NET. |
Comments on closed issues are hard for our team to see. |
Describe the bug
In my Unity project I am trying to access AWS multi-region access point using the following code:
The same code works in non-Unity projects apps with .NET Core 3.5 and .NET Core 5.0, but when I'm trying to run it in Unity (both .NET Standard 2.1 and .NET Framework), the following error is raised:
There is also no error when I use a bucket name instead of an access point.
Expected Behavior
The requested file is returned
Current Behavior
MarshalDirectiveException is raised
Reproduction Steps
In Unity project:
Possible Solution
No response
Additional Information/Context
Unity 2021.3.8
AWS .NET SDK and/or Package version used
AWSSDK.Core.3.7.13.12
AWSSDK.S3.3.7.9.61
AWSSDK.Extensions.CrtIntegration.3.7.1.4
Targeted .NET Platform
.NET Standard 2.1
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: