It has been suggested that a gamma-ray burst in the Milky Way could cause a mass extinction on Earth . It has been hypothesized that a gamma-ray burst in the Milky Way , pointing directly towards the Earth , could cause a mass extinction event .