immersivecognition / unity-experiment-framework

UXF - Framework for creating human behaviour experiments in Unity
https://immersivecognition.github.io/unity-experiment-framework/
MIT License
221 stars 43 forks source link

Is there a way to access whether HTTP POST Request was successfull? #130

Open JAQuent opened 2 years ago

JAQuent commented 2 years ago

I want to add a post-experimental screen whether their data was successfully send to my server but no matter what I try nothing seems to work. Is that possible to access any kind of variable about this?

jackbrookes commented 2 years ago

I think, currently there is no direct way o do this, but it is a good suggestion. The only way would be to hook into the error messages that will be thrown if each upload is unsuccessful.

JAQuent commented 2 years ago

Currently I just wait a minute before I close the application and hope that the few MB of data was actually uploaded. It would definitely be nice but I completely struggled to get this done myself.