(Solved) Change_scene() doesn't work on Android device

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

So my project is almost ready and workable except for the scene. This one just can’t be loaded no matter what I tried (I set it as main scene, pasted it on a working scene, tried to load and preload - nothing works).
Could you tell me possible reasons which could let to it?
To make it more clear I have these on the scene:

  • 1 animated sprite
  • 5 Area2D objects (they work as buttons)
  • A RichText
  • 1 autoplayable music
  • 1 sound using while the text is printering
  • 3 combined sprites

Do you have any errors that the debugger or similar programs put out?

Ertain | 2022-10-07 17:32

How are you trying to change the scene? Specifically, post the code that’s responsible for the scene change…

jgodfrey | 2022-10-07 18:45

:bust_in_silhouette: Reply From: Shadow11

(Solved) The problem used to came out because of an audio file, whose length is too short to be played I presume. So when I replaced it with another longer audio file it suddenly started working.

FYI, you can show that the question has been solved by selecting this as the “best answer” (button below votes).

Ninfur | 2022-10-08 12:34