Collision doesnt get removed when I erase parts of the tilemap

Hello everyone!

I’m working on a 2D game, but I’m having some trouble when I use the Tilemap collider 2D.
When I make a level it all works fine, but once I use the ‘erase’ function to edit a part of my level the collision of the removed tiles won’t get removed. Because of that, I’m stuck with random spots that still have collision.

Resetting/removing and adding the Tilemap collider 2D doesn’t seem to refresh the collision. How could I get rid of these invisible blocks?

Thanks in advance!

For future readers, I was able to fix this by going to the Tilemap object in the grid that used to contain the tiles I deleted and toggling the Tilemap Collider on and off. This also updated all physics outlines I had manually changed.