Search found 3 matches

by LiquidEggProduct
Sat Jan 29, 2022 5:39 am
Forum: General Discussion
Topic: After cached file is saved to disk, File.Exists can't find the file
Replies: 4
Views: 921

Re: After cached file is saved to disk, File.Exists can't find the file

It turns out, the issue was my misuse of TextMeshPro in the save code. I was passing the wrong class (TextMeshProUGUI rather than TMP_InputField), one of which has a zero-width space at the end of the .text property, and the other did not :lol:
by LiquidEggProduct
Sat Jan 29, 2022 4:38 am
Forum: General Discussion
Topic: After cached file is saved to disk, File.Exists can't find the file
Replies: 4
Views: 921

Re: After cached file is saved to disk, File.Exists can't find the file

Thanks, Joel, for the quick response.

I tried directly writing the file content using .NET classes directly instead of ES3, but with the same result. So, it's not a ES3 issue. I'll have to figure out what's happening on my system!
by LiquidEggProduct
Thu Jan 20, 2022 4:07 am
Forum: General Discussion
Topic: After cached file is saved to disk, File.Exists can't find the file
Replies: 4
Views: 921

After cached file is saved to disk, File.Exists can't find the file

Trying to use caching, and encountering a strange problem. After calling StoreCachedFile(fileName), the file saves on the drive, clearly visible in Windows Explorer. When trying to load the file with ES3.CacheFile(fileName), the file cannot be found. File.Exists returns false. If I delete the file f...