Skip to content
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

Could not find type "SQLite" in the current scope. #174

Open
danieldantedev opened this issue Apr 11, 2024 · 7 comments
Open

Could not find type "SQLite" in the current scope. #174

danieldantedev opened this issue Apr 11, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@danieldantedev
Copy link

Environment:

  • OS:
  • Godot version: <4.2>
  • godot-sqlite version: <4.3>

Issue description:
when you put the plugin on Godot, create a node, put a script and simply put-> var db : SQLite, it says that "Could not find type "SQLite" in the current scope." i thought that i was doing something wrong, but when i open up the demo from this github, it happens the exact same, so i thought, oh i must have forgotten to click the plugin switch to "on", so i did that, and it changes nothing, i dont know what is going on, can someone help?

Steps to reproduce:
put the plugin on Godot, create a node, put a script and simply put-> var db : SQLite, or var db : SQLite = null or something else similar, you can also just open the demo with a new version of Godot4.2 (gdscript)

thanks

@danieldantedev danieldantedev added the bug Something isn't working label Apr 11, 2024
@2shady4u
Copy link
Owner

Hello, @danieldantedev,

What OS are you using? Are you using the normal version of Godot or the mono C# version?

@danieldantedev
Copy link
Author

Windows 10, i'm using the normal version, i even thought that maybe my Godot was a little bit outdated and did the download again, but it wasn't, i literally open the demo project and i wasnt working just like my project, very very weird.

@jgestiot
Copy link

jgestiot commented Apr 11, 2024 via email

@danieldantedev
Copy link
Author

Don't know if this gonna help but here it is some screenshots of the error using the demo.

@BC-Laboratories
Copy link

@danieldantedev
Experienced same thing for a bit:

Turns out godot-sqlite <4.3> requires Godot 4.2.1, not 4.2, I was using 4.2

Maybe this is the issue for you as well.

image

Although this should fix it, this is probably due to the way the AssetLib is pulling plugin versions, as it let me pull in an unsupported version into Godot.

@danieldantedev
Copy link
Author

unfortunately i'm using 4.2.1 stable, tested with other computer and it works fine, its something to do with my pc i think....

@Iscalej
Copy link

Iscalej commented May 7, 2024

Reinstall the addon from the asset library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants