-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directory
dir_exists fails on exported projects on subpaths & paths with more than 2 slashes in
res`
#37646
Comments
It seems that in the export settings miss the inclusion of the file *.txt. |
My bad, I fixed that, but it still seems to have problems with finding directories at concatenated paths, everything else works as intended though. |
Directory
dir_exists, file_exists & File
file_exists fail on exported projectsDirectory
dir_exists, fail on exported projects with concatenated folder paths
Directory
dir_exists, fail on exported projects with concatenated folder pathsDirectory
dir_exists` fails on exported projects with concatenated folder paths
After more testing, it appears to work if I remove |
After even more testing, it appears that |
Directory
dir_exists` fails on exported projects with concatenated folder pathsDirectory
dir_exists fails on exported projects on subpaths & paths with more than 2 slashes in
res`
Here are the bugs: godot/core/io/file_access_pack.cpp Lines 507 to 517 in 3c42d57
The only thing that is done when |
See #56737 (comment) where @timvisee found that a similar bug is fixed in |
…rying to read a Directory from an exported project doesn't work. godotengine/godot#37646
Godot version:
3.2.1
OS/device including version:
Arch Linux, up to date as of April 6th, 2020
Issue description:
Directory
, andFile
classes fail to find directories, or files, usingdir_exists
,file_exists
on exported projects.Steps to reproduce:
Create Directory object, and attempt to check whether directory/file exists, note that it shows the file/directory exists when the project is run from the editor, but shows that the file/directory does not export when project is exported, and the resulting binary is run.
Note:
dir.open
does work with the same path, so it seems to be exclusive to howdir_exists
work.Minimal reproduction project:
Sorry for the OneDrive link
There are similar issues (including 26009), but was directed to create my own, so here it is.
The text was updated successfully, but these errors were encountered: