# HELP UnrealBuildTool was unable to generate project files

**URL:** <https://forums.unrealengine.com/t/help-unrealbuildtool-was-unable-to-generate-project-files/442355>\
**Category:** Getting Started & Setup\
**Tags:** generateprojectfiles, source, unreal-engine, visual, question\
**Created:** [January 30, 2019, 8:42am UTC](https://forums.unrealengine.com/t/help-unrealbuildtool-was-unable-to-generate-project-files/442355 "2019-01-30T08:42:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_32341eba](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_32341eba](https://forums.unrealengine.com/u/anonymous_user_32341eba)\
**Post date:** [January 30, 2019, 8:42am UTC](https://forums.unrealengine.com/t/help-unrealbuildtool-was-unable-to-generate-project-files/442355/1 "2019-01-30T08:42:25Z")

</div>

I am trying to build engine from the source, and no matter what I do, I always get the same error after executing GenerateProjectFiles.bat. It says that I don’t have VS installed. But I do have and it works with binary version of engine. I have VS 2015 professional update 3.

Does anyone know how can i fix this? I cant go on with my project. I am stuck for couple days because of this.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_32341eba](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_32341eba](https://forums.unrealengine.com/u/anonymous_user_32341eba)\
**Post date:** [January 30, 2019, 8:44am UTC](https://forums.unrealengine.com/t/help-unrealbuildtool-was-unable-to-generate-project-files/442355/2 "2019-01-30T08:44:23Z")

</div>

I forgot to add picture, so here it is.

 ![266926-screenshot-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/a/9ca150f60e861bae816ab770aa3f044eb6841e56.png)

---

<div class="post-metadata">

**Author:** ![GIGA-Money](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GIGA-Money](https://forums.unrealengine.com/u/GIGA-Money)\
**Post date:** [January 30, 2019, 2:46pm UTC](https://forums.unrealengine.com/t/help-unrealbuildtool-was-unable-to-generate-project-files/442355/3 "2019-01-30T14:46:51Z")

</div>

Have you completed the set up here, the site is designed around VS 2017, but  
[this link might help](http://y-okamoto-psy1949.la.coocan.jp/booksetc/introvcpp/On_vs2015/en/) with that

> **[Setting Up Visual Studio for Unreal Engine](https://docs.unrealengine.com/4.27/en-US/ProductionPipelines/DevelopmentSetup/VisualStudioSetup/)**
>
> Tips, tricks, and techniques for setting up Visual Studio to work with Unreal Engine

and then this [UnrealVS Extension | Unreal Engine Documentation](https://docs.unrealengine.com/latest/INT/Programming/Development/VisualStudioSetup/UnrealVS/index.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_32341eba](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_32341eba](https://forums.unrealengine.com/u/anonymous_user_32341eba)\
**Post date:** [February 1, 2019, 12:22pm UTC](https://forums.unrealengine.com/t/help-unrealbuildtool-was-unable-to-generate-project-files/442355/4 "2019-02-01T12:22:33Z")

</div>

Thank you for your time and answer.  
Yes, I did everything that Epic said, and downloaded everything for VS2015, but problem was by my mistake, because i pulled master branch and not release. So if anyone else is trying to pull source using Sourcetree, you will need to expand advanced options and then select release branch. It’s working now.

---

<div class="post-metadata">

**Author:** ![GIGA-Money](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GIGA-Money](https://forums.unrealengine.com/u/GIGA-Money)\
**Post date:** [February 1, 2019, 3:35pm UTC](https://forums.unrealengine.com/t/help-unrealbuildtool-was-unable-to-generate-project-files/442355/5 "2019-02-01T15:35:35Z")

</div>

but this up as a separate answer and how you came to this conclusion please.
