Godot Version
4.4
Question
I have been messing around with scene changes for honestly about a month now and this is the closest I have gotten. I think one of the reasons I have been struggling is that I haven’t really picked up anything on how to code, I still just follow tutorials. I finally got what I wanted by combing two different tutorials (I know not the best way) I got the changing scenes and it remembering your position on 1 tutorial, and then triggers not activity tell you press enter on another. But now I get this error once in a blue moon. “Cannot call method ‘remove_child’ on a null value”. and it brings me to this line on the scene_manaer script. “player.get_parent().remove_child(player)”. Anyone have any idea why I would be getting this error now? or have a different way of coding it so they only activate when hitting entered that works 100% of the time? I’m guessing the new function I added broke it somehow. Since I cant add attachments yet, I added a link to a video to show that it only happens during certain scene changes. I have attached a link with to a google drive with all the pictures of the script that are connected to scene changing.
Script:
Video: