I have a question about fixing the gap between the sprites of objects

So I have this problem I am sure any of you that have made 2d sprite art game has faced. I am trying to use ground sprites to make my platform environment. Once again, I am having the trouble of where if I line the sprites up right next to each other, they have gaps between them when the game is running. I looked up many solutions to this. And at one point, I found the perfect one. Sadly I didn’t bookmark the youtube video, and I can’t remember what it was for the most part.
I remember that you had to switch this option to do with some sampling involving the sprites. I think it would have to be in the project settings because it affects all sprites universally. Does anyone know what I am talking about?

the solution is always the same, create sprite atlas, set padding to 2