Missing detail in model when sliced

I’m making this lego-compatible brick thing, and whenever I slice it, all the geometry on the bottom is missing. I tried looking at the model and fixing any overlapping vertices, and nothing worked