Godot sqlite12/20/2023 ![]() ![]() This results in a lookup failure when the code attempts to lookup index (that is, the row resulting from a query). The specific error message I am getting is that although the database is opened correctly there is "no such table" as the table I'm requesting in the query. If I send the files to my testing computer, or if I attempt to run the program in HTML5 inside Godot, the database loads (that is, the console reports that it has successfully opened "user://databasename"), but cannot open the relevant table. This step was sufficient to let the program run on my machine, when exported as a Windows. On _ready in the main scene, the database is copied from res:// to user://. The database's intended functionality is read-only. I have created a CYOA-like game that stores paragraphs and choices in a. However, it fails on other (Windows) machines, and fails on HTML5 even inside the Godot app. The solutions I have found by searching have got the program running fine when exporting and running on my (Windows) machine. ![]() I am using 2Shady4Us godot-sqlite plugin and have encountered an interesting variant of what seems to be quite a common problem. So the real problem is why files aren't copying to the right places. db file exists inside %APPDATA%/Godot/app_userdata/, but not when it does not. Edit 2: It looks like this is caused by a problem with my file paths. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |