You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the exported project, I am creating a file in user:// folder, then letting users remove it. DirAccess.remove_absolute(filepath) returns 0 (successful), but after restarting the scene Ctrl + Refresh, the file is seen there again.
Steps to reproduce
List folders in user://, if empty create a file there.
Delete using DirAccess.remove_absolute("user://filename").
Restart the game via refresh button on the browser.
adamscott
changed the title
Exports on web cannot remove files with remove_absolute
[Web] Cannot remove files with DirAccess.remove_absoluteDec 9, 2024
Tested versions
Reproducible: 4.4.dev5 and 4.4dev6
System information
Godot v4.4.dev6 - Windows 10.0.22631 - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; 32.0.15.6603) - 12th Gen Intel(R) Core(TM) i5-12500H (16 threads)
Issue description
On the exported project, I am creating a file in
user://
folder, then letting users remove it.DirAccess.remove_absolute(filepath)
returns 0 (successful), but after restarting the scene Ctrl + Refresh, the file is seen there again.Steps to reproduce
List folders in
user://
, if empty create a file there.Delete using
DirAccess.remove_absolute("user://filename")
.Restart the game via refresh button on the browser.
After refreshing,
The
text.txt
is still there.Minimal reproduction project (MRP)
testbug.zip
Export as web and launch it. Check the Dev Console.
The text was updated successfully, but these errors were encountered: