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
missing GetPreSignedURL(request) function in Unity #525
Comments
|
Any update here? Still can't access this method because it's not exposed |
|
I'm also having this problem any solution yet? |
|
Same problem here |
|
@ashishdhingra thank you for the labeling, hope the problem can be fixed soon. 👍 |
|
Hi @daves0, Good afternoon. Starting with version 3.5 of the AWS SDK for .NET, projects using Unity 2018.1 or later should target the .NET Standard 2.0 release of the SDK. You can find additional information in the developer guide: Unity support and Migrating your Unity application. Please try using the .NET Standard 2.0 version of the AWS SDK for .NET (version 3.5). Kindly confirm if this is still an issue. Thanks, |
|
EDIT: Hello. I have this script working in the editor. When i type the name of the S3 file in a Inputfield and I press a button the URL is set to another inputfield so that i can copy and paste it to google. But when I build it to Android it crashes when i press the button. Who can help me? `using Amazon; public class Test : MonoBehaviour } |
I solved it. I had to put my accessKey and secretKey together with the Region in AmazonS3Client. If someone later also has this problem here is the code. `using Amazon; public class TestGenerate : MonoBehaviour } |
|
This issue has not recieved a response in 2 weeks. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
I'd like to upload to S3 using pre-signed urls from Unity (if I can get past all the SDK bugs in uploading .. sigh ... is anything being done on any of them?) but I get this message when I add a call to GetPreSignedURL (even just pasting in the sample code fails):
Assets/Test.cs(256,34): error CS1061: Type
Amazon.S3.AmazonS3Client' does not contain a definition forGetPreSignedURL' and no extension methodGetPreSignedURL' of typeAmazon.S3.AmazonS3Client' could be found. Are you missing an assembly reference?I'm not missing an assembly reference .. the method just ain't there. If you look at the source code for the full .Net version, there's stuff in there for it .. but a search in the Mobile SDK doesn't turn up anything except in DynamoDB, where it's using the request to do the work:
this.s3ClientCache.GetClient(this.RegionAsEndpoint).GeneratePreSignedURL(....)
I did searches here on Git using the "This repository" search.
Sorry for the rambling, I've been fighting the SDK and S3 all day and my brain is fried. All I want to do is upload a file, it shouldn't be nearly this hard.
The text was updated successfully, but these errors were encountered: