Game Crashing without Error in Debug-Console (FIXED: 3.2.2 RC1 is bad. RC2 works)

whiteshampoowhiteshampoo Posts: 8Member
edited June 21 in General Support


i need help with a project for a gamejam. Today is the deadline, and i'm really stuck.

The game crashes randomly, and without a reason. The game stucks for s seconds, then the game-window closes and "--- Debugging process stopped ---"
Usually i find all my mistakes by myself, but this time Godot give me absolutly no information what went wrong, and i have NO idea where to search...

Here is the project:

I'm using 3.2.2 RC1 (without C#) on Windows 10

I would like to say more about the problem, but i really really don't know how to locate the problem...
Please help :'(


  • cyberealitycybereality Posts: 927Moderator

    If you launch Godot from the command line, it may show you more detailed error messages.

  • whiteshampoowhiteshampoo Posts: 8Member

    i already tried with commandlineoptions "-v -d" (verbose and debug), but nothing useful here, too :(

  • whiteshampoowhiteshampoo Posts: 8Member

    I have tried to print the name + "start"/"end" at every start/end of every possible function/method, but it seems to crash between frames...
    Help :(

  • whiteshampoowhiteshampoo Posts: 8Member
    edited June 21

    I tried now with (Manjaro) Linux and Godot 3.2.1 stable.
    Here i can gat some output:

    handle_crash: Program crashed with signal 11
    Dumping the backtrace. Please include this when reporting the bug on
    [1] /usr/lib/ [0x7f12f1cde3e0] (??:0)
    [2] /opt/godot-bin/godot() [0x29c7276] (??:?)
    [3] /opt/godot-bin/godot() [0x29d1e00] (??:?)
    [4] /opt/godot-bin/godot() [0x192f50f] (??:0)
    [5] /opt/godot-bin/godot() [0x1528ed8] (??:0)
    [6] /opt/godot-bin/godot() [0xbc8274] (??:0)
    [7] /opt/godot-bin/godot() [0x1842cae] (??:0)
    [8] /opt/godot-bin/godot() [0x188587e] (??:0)
    [9] /opt/godot-bin/godot() [0x293dfb0] (??:?)
    [10] /opt/godot-bin/godot() [0x84ac4d] (??:0)
    [11] /usr/lib/ [0x7f12f1cc9002] (??:0)
    [12] /opt/godot-bin/godot() [0x857fde] (??:0)

    but this does not really help me.... :(

    It's not realiable a KinematicBody2D

  • TwistedTwiglegTwistedTwigleg Posts: 2,629Admin
    edited June 21

    Have you tried Godot 3.2.2 RC2?

    Edit: Running the project in the editor with Godot 3.2.2 RC2 works for me! I'd try exporting with Godot 3.2.2 RC2 and see if that fixes the issue.

  • whiteshampoowhiteshampoo Posts: 8Member
    edited June 21

    also crashing in RC2...
    Also exported (64&32bit)

    because i'm an idiot.
    i downloaded the RC2, but started the RC1 executable.

    Thanks, is working now! <3

  • whiteshampoowhiteshampoo Posts: 8Member

    Release-Export still crashes :D

  • MelonHeadMelonHead Posts: 1Member
    edited June 22

    Edit: Jokes on me. That didn't fix it. Back to square one....
    Edit2: Should have read your title, RC3 fixed it for me

    I made an account just to answer you and now this site makes me type it twice because the first one never got posted..... Anyway:
    I was facing a similiar issue as you. Random but semi reliable crashes.
    After lots of trial and error i found out that it sometimes crashed when instantiating a specific scene.
    That scene consisted of a Area2D using a CollisionPolygon2D.
    I deleted the CollisionPolygon2D and started using a CollisionShape2D.
    That seems to have "fixed" it for now.
    I hope that helps you, because debugging without any engine feedback is incredibly annoying.

  • TwistedTwiglegTwistedTwigleg Posts: 2,629Admin

    @MelonHead said:
    I made an account just to answer you and now this site makes me type it twice because the first one never got posted.....

    The first one was stuck in the moderation queue, likely because your account was not verified when you posted.

  • whiteshampoowhiteshampoo Posts: 8Member
    edited June 25

    I just saw that RC3 is out. i'll try today evening if it fixes my problem. In the meantime i "released" my game as debug-build to the gamejam. I'm not a big fan of this, but it runs without crashing :)

    (If someone is interested (Sourcecode/Project-Folder included) --> Link <-- )

    Still crashing in Release-Build with RC3

  • RandomShaperRandomShaper Posts: 6Member

    I've been trying to debug the problem. The only things I've found is that at runtime (using a release build) the velocity variable in can be null after these lines (I've seen it happening after one or the other in different sessions):

    velocity = WannaHave.global_position - global_position

    velocity = Target.global_position - global_position

    Therefore, the subsequent call to velocity.normalized() crashes.

    I'm not sure if this will shed some light. Hope it does. :)

  • whiteshampoowhiteshampoo Posts: 8Member

    Thank you RandomShaper!
    You are right, i never check if the Vectors are Zero.
    But i don't think thats the main problem, because this should happen very rarely. (should be fixed anyway)
    I think the problem is that i somewhere or somehow handle queue_free() wrong.
    When i try it in 3.2.1 stable is crashes in the editor, saying that something happend with previously freed stuff. (i don't have it here atm)
    RC1 crashes in the editor without saying something
    RC>2&stable works in editor but not in release

    still trying to figure out what exactly i'm doing wrong, and why 3.2.2 doesn't tell me something :/

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file