Thanks, I think it was because I used composite colliders, maybe it would have been avoided whith using normal tileset colliders.