Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


error

Error message describing a failure that occurred inside the download handler.
Read time 1 minuteLast updated 6 days ago

Definition

public string error { get; }

Remarks

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.