Crash with Box2DBase.mfx

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Working on the same game project as when I last had a Box2DBase crash, when loading a specific level via .arr I get this crash:

    DebugObject - crash caught

    *** Crash occured in the MMF2 program at address 0x0372661E ***
    A thread running code inside Box2DBase.mfx was denied access to write to address 0x00000000.


    I don't know why this has happened to me a second time, wasn't happening for a while and it just randomly decided to happen again.
    Unlike before, it doesn't occur randomly on every single array load, but seemingly occurs on the first collision it has to make?
    No idea why this occurs, I can post .mfa and resource files if needed.

  • That may be caused by some kind of event combination...

    To make debugging easier for you try enabling the option (if it's not already checked): "Crash: display last event line" from App Properties > Settings > Under the "Run Options" section

    If this didn't show a prompt with the line it crashed at, then try deactivating parts of your code one by one, what I do mostly is try deactivating the most suspicious parts, the issue may be gone, but the app not working well so activate more parts until you get to the crash again, this way you know where the problem lies

    Game/App developer, artist and a community contributor.
    You can support my work on: Please login to see this link.

  • The line it gives me is line #1956, which is just a simple collision.

    Please login to see this attachment.

    It's likely not an event issue, I've even tried disabling it and there's still crashes.
    For some reason this exact line doesn't throw up a crash on one of my other levels but does on this specific level.

  • As far as I'm aware, there's never a point where the world border (big yellow object) disappears, nor is the qualifier attached to anything that isn't an active object.
    The objects with the qualifier do occasionally stop existing but since the level is currently loading they cannot be destroyed and that still wouldn't explain why it crashes only on some levels while others don't have this problem.
    I can send over my files but I believe it's something do with the extension itself?

    Here's something that I noticed though, when I disable "Insert non-physical objects in the world" on the physics engine object it stops crashing.

  • As far as I'm aware, I have no joints in my frame.
    I don't actually know how joints work, so I don't use them.

    That wouldn't explain why I stop getting crashes when I uncheck "Insert non-physical objects in the world"?

  • Here's my files if anyone would could figure out why it's crashing:

    Please login to see this link.

    Pressing "1" on the title screen will bring you to the level that does **NOT** crash.
    Pressing "2" on the title screen will bring you to the level that **DOES** crash.
    "resources" folder is required to load the levels.
    Effects & Extensions folders are included so you can reproduce my setup.

    I'm stumped right now and I'm going to fresh install Clickteam & reboot PC to see if that does anything at all.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!