med-material / Whack_A_Mole_VR

Whack-A-Mole in VR
MIT License
3 stars 15 forks source link

TimeSync: Workaround empty responses (Pupil Capture) #270

Closed mrvilix06 closed 11 months ago

mrvilix06 commented 11 months ago

We experienced during the experiment that sometimes empty responses would be sent, which resulted in the double.Parse method failing. To prevent the game from crashing under these circumstances, we've implemented a try-catch block along with an if statement. This is a temporary workaround, and further investigation is needed to address the issue more comprehensively.