Version: 2022.3
public string error ;

描述

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.