Skip to content

No possibility to set a request timeout for periodical data sending #151

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

Open
anatolii-genies opened this issue Sep 22, 2022 · 1 comment

Comments

@anatolii-genies
Copy link

In the method Controller.SendData you create UnityWebRequest without any timeout, this affects applications that are designed to work both with the internet and without. No timeout is applied when timeout is set to 0 and this property defaults to 0.

https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest-timeout.html

image

@Tommigun1980
Copy link

Hi. Has this been fixed?

Having a timeout is mandatory, and it'd make sense to also check network status before even attempting any outbound traffic.

If it's not been fixed, when will the timeout be added?

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

2 participants