I am trying to apply a brick image texture on the walls (without UV unwrapping) and it appears stretched, but curiously on the ceiling, it appears correctly
EDIT: Just changed the projection in the "Image texture" node from "flat" to "Box" and it solved the problem after rendering the image, BUT in the Material viewport shading (which I want to use) still looks stretched.