+1 vote

Android export Problem.

In Desktop game works perfectly but while export to android ui scenes working perfect and game scenes not changing

Godot version 3.4
in Engine by (21 points)

can you explain in more detail?

1 Answer

0 votes

Yes, this does happen in only newer Godot versions. When making your loader script try not to make it too heavy in simple words do not make your Global scripts too heavy, by making it preload a lot of scenes or a few hefty scenes. PC somehow manages to load heavy scripts but phones can't so it doesn't load these scripts and when you type something like

get_tree().change_scene_to(SomeGlobalScript.AnyScene)

the scene doesn't get changed since android couldn't load that "SomeGlobalScript". Hope this helps!

by (14 points)

What will be the final solution... please tell

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.