Open BravoNiceCatch opened 2 weeks ago
Environment:
Issue description: Export to JSON file failed.
Steps to reproduce: Create a JSON file at the path res://player.json and a database file at the path res://test_data.db. The code only contains the following:
res://player.json
res://test_data.db
func _ready() -> void: database = SQLite.new() database.path = "res://test_data.db" database.open_db() database.export_to_json("res://player.json")
However, an error occurs: GDSQLite Error: Can't open specified json-file, file does not exist or is locked, and the export was unsuccessful.
GDSQLite Error: Can't open specified json-file, file does not exist or is locked
Strangely, when I export it as an .exe file, there's no error, and it successfully exports to the JSON file.
Minimal reproduction project: Only the code snippet above is needed.
Additional context
Environment:
Issue description: Export to JSON file failed.
Steps to reproduce: Create a JSON file at the path
res://player.json
and a database file at the pathres://test_data.db
. The code only contains the following:However, an error occurs:
GDSQLite Error: Can't open specified json-file, file does not exist or is locked
, and the export was unsuccessful.Strangely, when I export it as an .exe file, there's no error, and it successfully exports to the JSON file.
Minimal reproduction project: Only the code snippet above is needed.
Additional context