Need help with loading c++ templates

When trying to load any template (even blank) in C++ it gives me this error

An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/4.8/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/Sue/Documents/Unreal Projects/Quickdraw/Quickdraw.uproject” -game -rocket -progress
Discovering modules, targets and source code for game…
UnrealBuildTool Exception: ERROR: Failed to environment variables from XML file: C:\Users\Sue\AppData\Local\Temp\tmp7A87.tmp

Please tell me how to fix this asap.

You having some UBT error, it can’t load some configuration XML file, do temp file he is pointing to is always diffrent?

Hey -

It’s likely an issue with not being able to the file location properly due to spaces. Removing the space from the “Epic Games” folder name should fix the issue for you. You can get more information from the following AnswerHub post as well as the forum thread linked to it.

Cheers