Godot 4.3. GD script. Godot Debug is sometimes crashing when trying to swap to an intro scene (control scene). Just on the off chance that someone else has experienced this and might know how to resolve it;
I'm running a main menu scene (control node); that is trying to launch an intro scene (another control node scene); when the player presses "new game".
about 25% of the time; the debug freezes when the intro scene is trying to start; it will freeze; try to bring up the first line of text (the intro to the game text); then it will just stop; and crash; and the debug will just close.
It doesn't give any errors in the debugger at all. So im finding it difficult to debug why this is happening. I should mention there are a few auto load global scripts firing at this point upon pressing "start new game".
If i run the main menu into something else such as level 1, level select scene, or world select scene; then it does not crash; and it works perfectly 100% of the time.
So the crash seems to only occur in text based scenes such as the intro scene; and it also happens on the game over scene; when player dies; and text tries to come up on the screen; it also does the same thing.
I have been trying all sorts for 2 days. With no luck. Tried preloading the intro via the main menu. doesn't work. tried creating a fake player node within the intro to trick the global auto loads into thinking a player is there. does not work.
tried putting a few await process frames to try and give the engine some breathing room. does not work.
So; im in a situation; where i cant really run any text scenes like intro, game over, credits, ending scenes without a 25% chance that the whole game will just freeze and crash.
I've even had a look through the godot logs in the AppData folder on the C drive. still cant seem to find anything that might help me.
So I'm praying that someone might have seen this before; and can possibly shed some light on it. Thank you. Now I pray. 🙏