Why the optimization in gaussian shows no bond with some atoms in diborane?
I wouldn't put too much faith in the representation of bonding in GaussView, it's simply determined by bond distances and often it doesn't show the bond at all for some unknown reason. If your geometry is good, then you can use your knowledge and intuition of bonding to recall the true structure.