RIO DE JANEIRO — A stray bullet cut through the plastic roof of the equestrian media center in Rio de Janeiro on Saturday, alarming journalists and underlining concerns about the host city’s ability to guarantee security at the world’s biggest sporting event.

No one was injured in the incident. The equestrian venue is sited next to a military complex, though police are still trying to discover who fired the bullet and from where, a spokesman for the Rio 2016 organizing committee said.

“It was a stray bullet and has nothing to do with the Games,” Mario Andrada said at a news conference, adding that security around the venue had been increased as a precaution.

Dozens of police and troops patrolled the streets en route to the equestrian complex. The area was not evacuated.

Some of the world’s most expensive animals are housed nearby, and the dressage phase of the competition was being held just a few meters away.

The bullet struck around 1 p.m. local, when the media room was crowded at the end of a lunch break.

A spokesman for New Zealand’s Olympic team said the bullet had fallen close to where the team’s media attache was seated.

“She was sitting down and it went between the door and ceiling above her,” said Rob Waddell, New Zealand chef de mission and an Olympic rowing gold medallist.

He said New Zealand police liaison had advised the team that they were not being targeted, though the incident was still being investigated. New Zealand team members have been advised to stay inside competition venues, he said.

“We continue to assess the situation and look at the security around the venues and also in the village,” Waddell said, adding that renowned horseman Mark Todd, who holds five Olympic medals, competed roughly an hour after the incident.

Also on Saturday a bomb squad detonated an unattended backpack near the end of the cycling course.