error
Error message describing a failure that occurred inside the download handler.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Networking
- Assembly: UnityEngine.UnityWebRequestModule
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.