I ran into "A Native Collection has not been disposed" resulting from the UnityWebRequest upload/download handlers.
Fixed by using the UnityWebRequest's disposeUploadHandlerOnDispose & disposeDownloadHandlerOnDispose options to ensure the handlers are disposed of along with the UnityWebRequest.
Thank you for your contribution! This PR looks good to me.
using var is supported in C# 8 or later, so we update the requirement for Unity to 2020.3 or later.
I ran into "A Native Collection has not been disposed" resulting from the UnityWebRequest upload/download handlers.
Fixed by using the UnityWebRequest's disposeUploadHandlerOnDispose & disposeDownloadHandlerOnDispose options to ensure the handlers are disposed of along with the UnityWebRequest.