Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joshrickert opened this issue Nov 22, 2017 · 3 comments

Comments

@joshrickert
Copy link

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.'
@s-ol
Copy link

s-ol commented Mar 11, 2019

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

@IanEFSG7
Copy link

IanEFSG7 commented May 8, 2020

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

@Swagat47
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants