immersivecognition/unity-experiment-framework

File Saver Data Handling on Mac

matthewcook-ku opened this issue · 1 comments

I would really like to get file saver data handling working on mac. I spent some time trying to walk through the existing file code and see where things trip up. I was hoping that someone might know where the incompatibility lies so I would know where to focus my efforts.

I can see that checking the file path in TryBeginSessionFromUI of UIController fails for some reason (line 256), even through the path is valid, and making the same call to Directory.Exists(localFilePath) works fine from other scripts. I can comment these lines out to get past the initial UI screen, but after this still no data is written.

Hi, this is tricky, I don't have a Mac to test this on. One thing, perhaps you can find the File Saver component (Under Data Handling) and make sure "Verbose Debug" option is enabled in the inspector. Then, all messages will be displayed in the console. Would be good to see if there's anything odd here.