# How to recompile engine for newer version

**URL:** <https://forums.unrealengine.com/t/how-to-recompile-engine-for-newer-version/323683>\
**Category:** Pipeline & Plugins\
**Tags:** how-would-you-do-it, unreal-engine, question\
**Created:** [July 1, 2015, 1:57pm UTC](https://forums.unrealengine.com/t/how-to-recompile-engine-for-newer-version/323683 "2015-07-01T13:57:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsenter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dsenter](https://forums.unrealengine.com/u/dsenter)\
**Post date:** [July 1, 2015, 1:57pm UTC](https://forums.unrealengine.com/t/how-to-recompile-engine-for-newer-version/323683/1 "2015-07-01T13:57:00Z")

</div>

Hello,

I’m currently using UE4 v4.6.1 but would like to update it to use v4.7.6 or above. When I right-click the .uproject file to switch Unreal version and reopen the file it doesn’t work because the plugins were compiled in a different version (4.6.1). How do I recompile the entire project including the plugins (VaRest) to use the latest version of UE4?

---

<div class="post-metadata">

**Author:** ![dsenter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dsenter](https://forums.unrealengine.com/u/dsenter)\
**Post date:** [July 1, 2015, 2:06pm UTC](https://forums.unrealengine.com/t/how-to-recompile-engine-for-newer-version/323683/2 "2015-07-01T14:06:32Z")

</div>

I found the answer; I had to generate the Visual Studio project files then open in Visual Studio and recompile the project. However, in the Unreal Editor I had to go to File \>\> Add Code to Project and add an empty file before it would allow me to generate the Visual Studio project files.
