All Collision Events Stopped Working after Update

Hello, this is my first time posting on this forum. I have used the engine for many years but pretty much entirely on my own. I’ve been working on a project for a few months now, which is a procedurally generated sandbox title using tilemaps. I returned to working on my game after an update to GDevelop was pushed (one of the most recent major ones, I wish I could say exactly what version) and all of my collision based events, which involve a traditional sprite object and tilemaps, stopped working. My player character phases through “solid” tiles (as specified with the red outline in the tilemap editor), as well as the cursor sprite which allows you to destroy / place tiles, no longer can detect its colliding with anything in a similar fashion. I love this engine but its annoying to have my code break due to something that’s out of my control. I appreciate any suggestions or fixes, and can go into more detail about the issue if asked. Thanks!

1 Like

Hey!
First of all, welcome to the forum! So glad to have you here! :smile:

That’s pretty annoying that the collision stopped working for you. Just to make sure, if you checked these 2 things:

  1. Make sure you are on the newest version of GDevelop (V5.6.260).
  2. Have you closed the engine and reopened it and still have this problem?

Sometimes things break in GDevelop updates, so it’s good that you reported it on here as it definitely needs to get fixed if it’s a bug :smile:

Thanks for replying. Just checked and I was running 5.6.257, so I restarted the app allowing it to update. I confirmed that I am now on 5.6.260, though unfortunately the issue still persists.

1 Like

Did you get this sorted? If not, please describe a bit more in detail what is going on.

Here you can download earlier versions of gdevelop and maybe find one where it works and look for differences.

thank you very much for providing these. Unfortunately no, it hasn’t been resolved yet. I’ve been spending all day trying to debug! Only thing I’ve been able to deduce so far is that collisions will work on tilemaps which I place in-editor manually, though will not work with tilemaps that are created via event. For my purposes they must be created on the fly through events. I will test out an older version and see if it works for me. Thank you for the reply!

2 Likes

Sadly I wasn’t able to get it working, even in a version older than the issue itself. I went all the way back to version 5.6.254 (which released on January 30th) and I can confirm that my events were working correctly into early February. Starting to second guess if it’s an engine bug at all, though I can’t find anything else in my events that would say otherwise. I can provide my project if you want to look through the events. Thanks again.

Yes i could take the project files and have a look. As long as there isnt too much progress of your game youre sharing, there be thieves. :woman_supervillain:

At work right now but I can share it when I’m home. If possible I’d like to share it with you on discord or some other platform where I can message you directly, I don’t really like the idea of the download being up here for anyone to grab.