The ice bucket challenge has raised at least £250,000 (NZ$494,000) for the UK Motor Neurone Disease Association and US$62.5million (NZ$74.9m) for its equivalent the ALS Association in the US, where the craze originated.
It has, however, faced criticism that it has become more about celebrities getting publicity for themselves than raising money. Other sceptics have claimed that versions of the challenge let people have a bucket of ice cold water thrown over them as alternative to donating, instead of doing both.
The craze was also hit by tragedy last week when Corey Griffin, 27, credited with being one of the American inventors of the ice bucket challenge, drowned in a swimming accident in Nantucket, Massachusetts.
Mr Lancaster's death, however, is thought to be the first fatality directly linked to the ice bucket challenge.
Emergency services were called to the quarry at 5pm on Sunday and Mr Lancaster's body was recovered after a four-hour search of the deep water.
One witness, Wilma Sutherland, 41, said: "I asked my son who's 15 if he had heard anything and he told me that a young guy had taken part in the ice bucket challenge and then jumped in the quarry and didn't come up.
"It's a popular spot for swimming and I've seen lots of teenagers jumping in.
The family of Mr Lancaster, who was about to start at Edinburgh Napier University, paid tribute to his "friendliness, kindness and thoughtful generosity of spirit".
In a statement released via Police Scotland they said: "His death is such a great loss.
"During his short life, he touched so many people with his friendliness, kindness and thoughtful generosity of spirit. He will be hugely missed by his family and friends."
A police spokesman said: "Inquiries are under way to establish the full circumstances of what happened and Police Scotland's thoughts are with the family at this very difficult time."
Next trending article - GP 'forgot' cancer: patient died
- The Independent