Hi,Would you be able to supply us with a minimal reproduction project showing this issue?
Sometimes things break when updating projects between Unity versions. Have you confirmed that all your GameObject assignments carried over from the upgrade? Maybe your layers got messed up and your raycasts aren't hitting anything? Or maybe your colliders aren't correct anymore?
It looks like you're new here. If you want to get involved, click one of these buttons!