The Hephthalite Huns captured Gandhara around 451, and did not adopt Buddhism, but in fact "perpetrated frightful massacres."
The travel records of many Chinese Buddhist pilgrims record that Gandhara was going through a transformation during these centuries.