In classical mechanics, massless particles don't exist because for $m=0$, $p=0$.
The relativistic relation between energy, mass and spatial momentum is: $E^2= (pc)^2 + (mc^2)^2$ . So it is said that setting $m=0$ in the first equation you get $E=pc$.
How could setting $m=0$ in that equation give you $E=pc$ whilst $p$ appears in the equation and we know $p=γmu$? If you set $m=0$ you will have indeterminacy due to "$γm$". It seems to me like we are doing a "trick" in order to get the $E=pc$. Perhaps there is another proof for this relation?