Unity3dAsyncAwaitUtil icon indicating copy to clipboard operation
Unity3dAsyncAwaitUtil copied to clipboard

warning CS0618: UnityEngine.Networking.UnityWebRequest.Send() is obsolete

Open joshrickert opened this issue 7 years ago • 3 comments

Hey, really cool utility! Makes it really painless to use the new async/await features.

I noticed when I run my game I get the following warning in the console:

Assets/Plugins/AsyncAwaitUtil/Tests/AsyncUtilTests.cs(213,27): warning CS0618:
`UnityEngine.Networking.UnityWebRequest.Send()' is obsolete: `Use SendWebRequest.
It returns a UnityWebRequestAsyncOperation which contains a reference to the WebRequest object.'

joshrickert avatar Nov 22 '17 20:11 joshrickert

Just switch to .SendWebRequests(), it works the same way. Only the example would have to be updated.

s-ol avatar Mar 11 '19 18:03 s-ol

The name 'SendWebRequests' does not exist in the current context

IanEFSG7 avatar May 08 '20 05:05 IanEFSG7

Actually its just 'SendWebRequest' - there is no 's'.

Swagat47 avatar Jul 31 '20 07:07 Swagat47