I'm installing a new light fixture in the bathroom of a house we are remodeling. It is a simple white and black wire fixture with the ground wire.

The previous fixture had been removed before we took over. There are 2 white wires together, 2 black wires together and one red wire all capped off coming from the wall unit.

One wall switch.

I tried to wire it up in my typical way: black to black, white to white & not using the red wire at all (have never run into this red wire issue).

No action. It does not work.

Any suggestions would be appreciated.

Thank you.