ERROR: Failed to harvest environment variables

My windows 8 user name had “&” character, I figured out it was the cause of the problem …
I changed the user name which required registry modification , only then I could rename the user folder deleting the “&”
THe GenerateProjectFiles worked after that

Dear Friends,

I got this issue a long time ago and there isn’t a real solving, this is my steps that I did, I’m not sure about deleting the engine but this is what I did.

  1. uninstalled UE4 v4.10

  2. uninstalled the Windows visual studios 2015

because I was disappointed that there was no solving, I downloaded another engine

  1. download unity

  2. install unity and it will instal vs2015

  3. install UE4 4.11 and then try to run it.

these steps solved my issue but as I mentioned before I don’t think that you need to uninstall UE4.

hope this solves your problems and brings back on track.

Kind regards

David