[Android Release] Scene Change Freezes Game – Looping "Target object freed" Warning

Godot Version

Godod 4.3

Question

In the release version of my app, my game has an issue when changing scenes (I’m building the app for Android). In debug mode, everything works fine. However, when I click the button that triggers the scene change, the screen seems to freeze.

In the logs, I see a looping warning message:

USER WARNING: Target object freed before starting, aborting Tweener.
   at: start (scene/animation/tween.cpp:550)

This message keeps appearing repeatedly as if stuck in a loop.

I’m changing the scene using:
image

get_tree().change_scene_to_file("res://scenes/UiInterface/Options_menu.tscn")

Of course, I checked whether the file exists before switching scenes, and it appears to be present.

Does anyone have an idea what might be causing this issue?

ok, i found the problem—the scene change itself wasn’t the issue. I was simply enabling a small component that simulated loading with “Loading…” during screen transitions. The dots changed over time based on a Timer. For some reason, this worked in debug mode but not in release mode. I decided to remove it without fully understanding why it was happening.