So I'm checking
Wikipedia on this topic (so we all know it has to be true). Since 2000, these are the players who died while on a roster.
3 in the year 2000.
Malik Sealy was killed by a drunk driver.
Bobby Phills (Hornets) - Also a car accident
Conrad McRae - heart failure (orlando magic camp, never an NBA player)
2005: Jason Collier (Hawks) - Heart failure
Then from 2016-18
Bryce Dejean-Jones (Pelicans) - Walked into the wrong apartment in Dallas and was shot.
Eddie Griffin (T'Wolves) - Car/Train accident
And most deaths fall in those 3-4 categories (Car accident, heart failure of some type and then drugs or gunshots, some of those suicidal), but there were a few that stood out.
Heino Veskila (Estonia and EuroBasket in the late 1930s) - Death by Execution by the Nazis
Slobodan Popovi - just says groin injury complication...tried to research it.
Nilay Aydoan (Turkey) - She died during an earthquake.
However in researching Slobodan Popovi, there was a basketball player named Slobodan Jankovic who moved from Serbia/Yoguslavia during the war to Greece for a safer life. While playing for Greece team, he picks up a 5th foul on an offensive foul in which he scored. He was so mad that he head butt the basketball support, and falls to ground, bloodied, but also having cracked a vertebrae in his back, never to walk again.