have you already tried the debug mode of the ray cast? it makes the ray and the target it hits visible and should help you to find the invisible boxes you are hitting.
have you already tried the debug mode of the ray cast? it makes the ray and the target it hits visible and should help you to find the invisible boxes you are hitting.