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

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AkashAK

Android export Problem.

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

can you explain in more detail?

ramazan | 2022-01-02 09:45

:bust_in_silhouette: Reply From: rohan

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!

What will be the final solution… please tell

AkashAK | 2022-01-07 16:39