You're also competing with extremely talented people in Vietnam or Indonesia who can live well off 8$ an hour.
The odds of making enough money to match even a lower end tech salary are astronomically low.
But learning Unity to learn programming is how I became a programmer in the first place. I’ve done very well for myself.
Even now I find games push me to develop my skills. Vs actual work which is usually boring.