Hi.
I have one question about UnityWebRequest’s NetworkError.
UnityWebRequest req;
UnityWebRequestAsyncOperation aync = req.SendWebRequest();
aync.completed += (op) =>
{
if (req.isHttpError)
{
// Do Something.
}
else if (req.isNetworkError)
{
// Do Something.
}
else
{
// Handle datas.
}
};
In this case, How to know what is NetworkError?
req.error string is just string… I want to handle this error case by case.
Thanks.