Actors don't block light in UE 4.20

Right now I’m using version 4.20 and for some strange reason, actors don’t block light. I started up the first person starter map and put a normal cube and a spotlight and the spotlight went right through the cube. The same thing happened with several other lights. For some strange reason this only happens in 4.20. I tried this in 4.23 and it worked fine. Why does this only happen in 4.20? Is my only option to upgrade to a newer version or is there a fix for this?