Place Decal on Mesh, Not Collider

I’m using the UltimateFPSCamera package. When you fire a weapon, the code does a ray cast and creates a bullet decal at the intersection point. The problem is that the bullet decals always appear on the collider that is used in the ray cast, not on the mesh.

I want the decal to be placed on the mesh itself, not the collider. Some buildings and detailed objects have simplified box or sphere colliders, so the decals end up floating in the air some distance away from the actual mesh.

Have you considered to use the Decal System:

Though, it is not really easy to use it at runtime.