This is the 3rd post on the same subject. Please create a single thread and use that. Do not create multiple posts for the exact same thing please.
https://forum.unity.com/threads/how-to-avoid-clipping-while-snapping-between-two-objects-on-runtime-thanks.1343399/
https://forum.unity.com/threads/how-to-avoid-clipping-while-snapping-between-two-objects-on-runtime-thanks.1343300/
I’ll move this post to the Physics forum where it belongs and lock the others.
Here’s how to post code on the forums using code-tags .
Thanks.