Creating an AWS Manager in Unity
2 min readSep 29, 2021
After creating the Asset bundle, it’s time to upload it to AWS S3
Uploading files to AWS S3
Log in into your AWS console and go to S3
Create a new bucket, I’ll call it asset-bundles-ar
If you want, you can copy the bucket config from a previous one
Select the bucket and click on Upload
Select the file (in my case, its weight is 8 MB)
In Manage public permissions, you can set it to Grant public read access to this object
Now the asset is available for being downloaded
AWS Manager: get objects list and download
- Configure the AWS Mobile SDK for Unity
- Download the AWS SDK Unity from here
- Import the S3 package
- Go to Amazon Simple Storage Service (S3) and copy the code for Create the Amazon S3 Client
- Create a new script AWSManager and attach it to a new gameobject with the same name
- You’ll need to get the identityPoolId (Cognito), Bucket name (S3) and object Url
Result: