I am having the same issue as well. I removed all fence mods from the game and tried it on several different maps. I can connect the fence to the existing fence, but once it snaps into place, I cannot place the fence in either direction or connect it to anything else.
I watched the attached YouTube video and followed the instructions exactly as shown. I can build a standalone pasture without any issues, but I cannot get the fence to properly connect to the base-game cowshed.
I am also using the exact same cowshed shown in the video. I have tried several different things to troubleshoot the issue, but I am still getting the same result.