i think raycast doesnt work with the new addon updates, idk if its just me
I tested and found the issue / reported to Kindeyegames / Mikal. It should be fixed now in the latest release just posted:
https://kindeyegames.itch.io/construct-3-cannon/devlog/800391/fix-cast-fix-shape...