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

DownloadHandler.error

public string error;

Description

Error message describing a failure that occurred inside the download handler.

When a UnityWebRequest ends with the result, UnityWebRequest.Result.DataProcessingError, this property contains a message describing the error. For example, when an AssetBundle is successfully downloaded, but cannot be loaded, this property explains the reason the asset bundle could not be loaded.