Custom level switcher crashes on level queue_free() in Godot 4.5+

There’s a lot of references to child nodes but within the scene. There’s no singleton access to child nodes of the root node of a level. Everything is self contained.

I don’t really have time to work on a minimal reproduction project since I need to focus on preparing the game for release and 4.5 features aren’t necessary for me. Unless you know of something specific with 4.5+ that would cause this and make the functional code stop working, I really don’t know what to say about this issue and I will probably just downgrade engine versions.

Once again, I really appreciate all your help.

Downgrade. You shouldn’t have switched versions anyway if that late in the development.

I’d still put some effort into chasing this. It could be hiding a sneaky bug in your code that may appear later even if things seemingly work in previous versions.

2 Likes

Alright thank you for all the help.

1 Like

Any awaits there?
Try loading only empty dummy levels to eliminate the possibility of level itself causing it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.