Search Feedback

70
votes

Make UnityWebRequest More User Friendly

Networking

-

-

Why doesn't the UnityWebRequest have any functionality/fields for things like retryCount, timeBetweenRetries, and timeout? I feel this is a basic feature of any wrapped web request, but especially one meant for building games.

It's really annoying (and ugly) to code manual timers and retry logic for the current UnityWebRequest. Even when we wrapped the UnityWebRequest to include these features, we found we had to allocate a new request for each retry as well as manually copy the information over from one request to another. This is due to a request not being able to attempt to send again after failure and because UnityWebRequest does not contain a constructor that takes another UnityWebRequest for copy.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(8572)

2D

(207)

Ads

(30)

AI & Navigation

(51)

Analytics

(82)

Animation

(284)

Asset Store

(199)

Assets

(479)

Audio

(147)

Cloud Build

(91)

Collaborate

(27)

Docs & Tutorials

(181)

Editor

(1984)

Everyplay

(13)

Game Performance Reporting

(10)

General

(775)

Graphics

(721)

GUI

(341)

Input

(139)

Licensing

(70)

Networking

(150)

Physics

(317)

Platforms

(394)

Profiling & Optimization

(65)

Runtime

(148)

Scripting

(964)

Terrain

(146)

WebGL

(128)