I have a file with an extension Godot ignores, I've added said extension to the export settings, when I build my project from a command line I can see that it is being exported:
[ 82% ] savepack | Storing File: res://data/en/test/test.cjson
Yet when I launch the exported game, FileAccess can't find it. I log:
GD.Print("Path: '" + path + "' FileAccess.FileExists: " + FileAccess.FileExists(path));
And in the console I see:
08:44:53:6302: Path: 'res://data/en/test/test.cjson' FileAccess.FileExists: False
I've triple checked that the file path is correct (in the "savepack" log, the "FileAccess" log, and on the disk, whitespaces included). I have other files with the same extension that I'm opening with the exact same function and they're working fine. The only difference I can think of is that they're not in multiple subfolders (e.g. "res://data/en/something.cjson") as this specific file. What could be happening here / what else should I check? :-(