According to the following formula:
Type of hybridisation/steric no. = (no. of sigma bonds + no. of lone pairs)
it should be $\ce{sp^3d^3}$, however according to my textbook it is $\ce{sp^3d^2}$ in solid state. That is how it was written (in my textbook), emphasising on the fact that "in solid state it is $\ce{sp^3d^2}$". How does solid state of a compound change its hybridisation?