Hello,
I'm actually trying to make a login screen that work perfectly on pc but when I export to my android device the button that should change the scene doesn't work.
func _on_LoginButton_pressed():
get_tree().change_scene("res://interface/login/Login.tscn")
I get some errors like:
Method/Function Failed, returning: ERRPARSEERROR
and some about failing to load ressources like my tscn files or gdc.
Using the load function (the code just below) doesn't fix my problem, when I click the button with this code it make the main scene to disapear (that's normal) but there is no scene to take his place so I just have a grey screen without my buttons.
var loginScene = load("res://interface/login/Login.tscn")
func _on_LoginButton_pressed():
get_tree().change_scene_to(loginScene)
I'm a begginer in godot so it may be a simple mistake from me.
Every help would be appreciated a lot.
EDIT: I found why I got the erros that's because I'm using the mysql modules (this one https://github.com/Malkverbena/MySQL_Module)
I don't know why but on my phone it make the scene doesn't load.
Maybe i need to give some other permission than the "internet" one.