Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Result

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Defines codes describing the possible outcomes of a UnityWebRequest.

Properties

InProgressThe request hasn't finished yet.
SuccessThe request succeeded.
ConnectionErrorFailed to communicate with the server. For example, the request couldn't connect or it could not establish a secure channel.
ProtocolErrorThe server returned an error response. The request succeeded in communicating with the server, but received an error as defined by the connection protocol.
DataProcessingErrorError processing data. The request succeeded in communicating with the server, but encountered an error when processing the received data. For example, the data was corrupted or not in the correct format.