Object won't highlight in the 3d viewport
Maybe you deactivated the Outline in the Viewport Overlay? In Object Mode, click the arrow next to the Overlay button (top right) and make sure the box is checked.