Hungarian police raided the set of Brad Pitt’s upcoming zombie movie, World War Z, Monday, seizing 85 weapons from a warehouse in Budapest.

The stash included automatic weapons such as AK-47s and sniper rifles, which were equipped with live ammunition, police confirmed.

Get push notifications with news, features and more.

“The 85 weapons were seized in Budapest at a warehouse because they were not fully inoperable as they were supposed to be,” Hungarian authorities told PEOPLE.

Calling the arsenal “a disaster waiting to happen,” police cautioned that a deadly accident could have occurred, according to X17.

“We are working with the authorities to resolve the matter and have no further comment at this time,” a publicist for the film said Monday.