heroiclabs / nakama-unity

Unity client for Nakama server.
https://heroiclabs.com/docs/unity-client-guide
Other
411 stars 75 forks source link

UnityWebRequest.isNetworkError is obsolete #121

Closed MrW1zard closed 3 years ago

MrW1zard commented 3 years ago

UnityWebRequest.isNetworkError is obsolete and is triggering a compile warning in Unity 2020.3.x

Warning CS0618: 'UnityWebRequest.isNetworkError' is obsolete: 'UnityWebRequest.isNetworkError is deprecated. Use (UnityWebRequest.result == UnityWebRequest.Result.ConnectionError) instead.' (CS0618)

lugehorsam commented 3 years ago

Hey @MrW1zard are you on v3.1.1? We've fixed the warning there.

Thanks.

MrW1zard commented 3 years ago

Yes, that is the version throwing the error; 3.1.0 (Current) - released on August 12, 2021

lugehorsam commented 3 years ago

@MrW1zard v3.1.1 is our latest, not v3.1.0. You can get it via Unity Package Manager if it isn't in the asset store at the moment. Or you can download the .unitypackage from the Github Releases.