My problem is that sometimes (not always) the OnComplete method is called although unityWebRequest.result is still InProgress, the unityWebRequest.downloadHandler.text is empty, and unityWebRequest.isDone is false.
Thus, OnComplete seems to be called prematurely sometimes.
Is this a bug?
Or do I have to create the Observable from the UnityWebRequest differently somehow?
I do the following to observe a UnityWebRequest:
My problem is that sometimes (not always) the OnComplete method is called although
unityWebRequest.result
is stillInProgress
, theunityWebRequest.downloadHandler.text
is empty, andunityWebRequest.isDone
is false. Thus, OnComplete seems to be called prematurely sometimes.Is this a bug? Or do I have to create the Observable from the UnityWebRequest differently somehow?