Ex-Florida State basketball player Michael Ojo -- a fan favorite from 2012-17 -- has died after suffering a heart attack during a workout in Serbia.

He was only 27 years old.

The 7'1", 310-lb center was practicing Friday with Serbian pro basketball team Partizan at the team facility when he collapsed while running, according to Eurohoops.net.

Ojo was reportedly raced to a nearby hospital in Belgrade but it was too late. Doctors were unable to save him.

Ojo was discovered while playing soccer in Nigeria ... and later came to America for high school to learn the sport of basketball.