Search Issue Tracker

Fixed in 2017.1.0f3

Votes

0

Found in

2017.1.0f1

Issue ID

923734

Regression

Yes

[Facebook] upload error for WebGL build

Facebook Gameroom

-

-E: there are currently issues with uploading the webgl build to facebook hosting through the editor

-repro:
--create new project
--add app id and upload token to player settings
--make FB webgl build
--try to have the editor upload it
--NOTICE it fails with an error:

tested and failed with the error below : Win10 5.6.2f1, 2017.1.0f1,

Uploading build to Facebook failed: stdout:
Uploading D:/Work/Bugs/New Unity Project 56/builds/win_webgl_2017.1b10\win_webgl_2017.7z to https://graph-video.facebook.com/1861675864047668/assets
stderr:
WebException error: System.Net.WebException: The request was aborted: The request was canceled.
at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at Uploader.HttpUploadFile(String url, String artifactsUrl, String paramName, String contentType, NameValueCollection nvc)
at Uploader.Main(String[] args) ResponseUri = <null>

System.Threading.RegisteredWaitHandle:DoCallBack(Object)

=====================
tested and failed with the below error on Win10 + 2017.2b1

Uploading build to Facebook failed: {"error":{"message":"(#100) Param type must be one of {FLASH, UNITY_WEBPLAYER, JAVASCRIPT, BUNDLE, UNITY_WEBGL, GAMES_DESKTOP, PRIVACY_POLICY, TOS}","type":"OAuthException","code":100,"fbtrace_id":"DG8HwLprIPI"}}
UnityEditor.BuildReporting.Artifacts:SetProgress(String)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.