There is a slight theoretical addendum there. Ships in hyperspace cannot collide with objects in realspace, unless via the mass shadows those objects cast. As hyperspace and realspace do not interact physically, only through forces (magnetic, electric, gravitational) , it is only by manipulating these forces, most specifically in this case gravity, that an object in one dimension effects another. For a "collision" to occur requires adequate gravity, either artificially or naturally created, to disturb and draw the object in hyperspace back into realspace...at which time the result of the two objects in immediate proximity to each other would lead to a nearly inescapable collision. This can perhaps be avoided in artificial constructs via "gravity projection" which mimics the gravity of larger objects to extend the force to greater distances to not only extend the reach of that kind of stopping power, but to protect the emitter (example: an Interdictor) from a collision with whatever it pulls from hyperspace. Now this level of gravity is always significant. Planets, Stars, Nebula, Blackhole, etc. But we have seen instances of hyperspace flight through asteroid fields, through atmosphere, etc. There is a certain delta of gravity that leads to the issue, but before that, the object in hyperspace is not only unaffected by the realspace it travels through, but unaware of it. In reality, the definition of just how much mass/gravity is required to draw a vessel back into realspace has fluctuated with the plots throughout the saga. As a physics teacher once told me...from our perspective, space is a vast emptiness...but in fact, it is FULL of matter...just scattered and negligible in force. Therefore, objects in hyperspace pass through matter in realspace all the time...it is just a question of whether the matter in real space is massive enough to pull the hyperspace traveler back to realspace, which will likely result in the collision.