The tooltip for this event says "Items in this event will be triggered just as the session ends, after data has been written.".
But the UnityWebRequest is done in a co-routine, therefor it's not guaranteed to be finished when the event is invoked.
We can't use a Thread like in FileSaver, as the UnityWebRequest can only be fired from the main thread.
The tooltip for this event says "Items in this event will be triggered just as the session ends, after data has been written.".
But the UnityWebRequest is done in a co-routine, therefor it's not guaranteed to be finished when the event is invoked.
We can't use a Thread like in FileSaver, as the UnityWebRequest can only be fired from the main thread.