What factor played a role in the collapse of the Soviet Union?

Very likely one of the major factors that played a role in the collapse of the Soviet Union was discontent. People in the Soviet Union saw that communism was not working and the entire system was unfair to the rank and file worker.