In the case of the Walking Dead incident, the death of stuntman John Bernecker was also due to the rehearsal of a planned fight scene that saw an unfortunate accident befall its stunt work.
Reading the details surrounding the accidental death of Joi Harris only hammers home how even big ticket productions like Deadpool 2, The Walking Dead, or the Resident Evil film series can still deal with accidents such as these, despite budget, plan, and presumably good faith intentions.