immersivecognition / unity-experiment-framework

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

Weird case where only the tracker files are saved but nothing else. #148

Open JAQuent opened 1 year ago

JAQuent commented 1 year ago

So, I just have this weird bug but I don't have many leads but I will try to describe the best I can. Maybe anyone has an idea what's going on.

I've already collected a lot of participants/sessions with the task in question and had no issue so far but now I just found one time where only the tracker files for each trial have been saved and nothing else (no session_info & no trial_results.csv). The trash has not been emptied since so it is unlikely that someone like me accidentally deleted the data because then it would be in there. I also looked for any trial_results.csv file anywhere on the computer that matches the time stamps of the tracker files but there is nothing.

So my only idea is that UXF never saved them? Is that possible? However, even if I force quit a task in the middle of it, there is a trial_results.csv, so I am just very confused.

I am using UXF version 2.4.2 by the way. I've currently no way to reproduce any of it but I will try to dig as deep as I can. Let me know if you can think of places to investigate.

jackbrookes commented 1 year ago

Hi! As far as I can tell this would only happen if there is some kind of crash/power loss before the session ends. Tracker files are saved throughout, but Trial Results & some others are saved when the session ends. When you "force quit" you are probably still requesting the application to close. I think if you quit an application from Task Manager it would not save these files