Oniya, 30, went down about three minutes into the game for T-Team and was pronounced dead at hospital around half-an-hour later, the club’s chief executive told The Star newspaper.
CEO Syahrizan Mohd Zain said Oniya, who was in his first season with second-tier T-Team, had barely touched the ball in the friendly with Super League side Kelantan in Kota Bharu.
“There was no hard running and it was a slow tempo match. It’s only a friendly game,” Syahrizan was quoted as saying.
“The match was called off in the 60th minute when we received a call from the hospital that Oniya had died.”
Deaths on the pitch, often from heart failure, are not unheard of and Belgium lost two players in two weeks in late April and May.
The most prominent case was Cameroon midfielder Marc-Vivien Foe, who collapsed and died while playing a Confederations Cup semi-final against Colombia in Lyon in 2003.