modio / modio-unity-legacy

Unity Plugin for integrating mod.io - a modding API for game developers
https://mod.io
MIT License
66 stars 16 forks source link

UnityWebRequest.isNetworkError is obsolete #83

Closed Laumania closed 3 years ago

Laumania commented 3 years ago

I installed 2.3.4 from Github and it seems to work fine, however, it's a little annoying to get a ton of warnings similar to this.

Assets\Plugins\mod.io\Runtime\RequestManagement\ImageRequestManager.cs(502,42): warning CS0618: 'UnityWebRequest.isNetworkError' is obsolete: 'UnityWebRequest.isNetworkError is deprecated. Use (UnityWebRequest.result == UnityWebRequest.Result.ConnectionError) instead.'

modio-jackson commented 3 years ago

Thanks - I haven't been testing in Unity 2020, but I'll make sure run it through the cycle and ensure that I clean these warnings up for the next release.

modio-jackson commented 3 years ago

Fixed for v2.3.5