FileAccess
get_path
contains an empty string when opened with compression.
#70712
Labels
Milestone
FileAccess
get_path
contains an empty string when opened with compression.
#70712
Godot version
4.0.beta10
System information
Windows 10, 64bit
Issue description
The title says it all.
Opened in compression mode, whether read or write and whether the file already exists or not,
get_path
contains an empty string. This is also the case in C#.However, if the file is opened without compression, get_path contains the absolute file path to the file as expected.
It doesn't matter whether an internal res:// path or an external system path is used.
Steps to reproduce
output:
get_path():
output:
get_path(): res://file.txt
or under C#:
output:
GetPath():
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: