question

amazdeh avatar image
amazdeh asked

programatic uploading of the game to server fails with 403

We use unity cloud built and have a web hook setup so we upload builds to playfab. When I try to use WWW to upload the game server, we receive a 403 forbidden error from AWS.

The code to upload the build is this

WWW www = newWWW(url, data,newDictionary<string, string>

{ { "content-type","application/x-zip-compressed"} });

yieldreturn www;

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Unity WWW is not compatible with AWS as-is. Here's a post with all the info you need to automate uploads from Unity for our Content service - you can use the same basic logic to upload server builds, since they're also stored in S3: https://community.playfab.com/questions/121/205469488-How-to-upload-files-to-PlayFab-s-Content-Service.html.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.