# Simplest way to modify the engine code?

**URL:** <https://forums.unrealengine.com/t/simplest-way-to-modify-the-engine-code/384102>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [February 6, 2017, 6:36pm UTC](https://forums.unrealengine.com/t/simplest-way-to-modify-the-engine-code/384102 "2017-02-06T18:36:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CapitaineStar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CapitaineStar](https://forums.unrealengine.com/u/CapitaineStar)\
**Post date:** [February 6, 2017, 6:36pm UTC](https://forums.unrealengine.com/t/simplest-way-to-modify-the-engine-code/384102/1 "2017-02-06T18:36:20Z")

</div>

Ok so I have a very specific issue that can (potentially) be fixed with a small modification to the engine code, specifically, forcing a variable to be always true in the Static Mesh serialization.

I looked into making a plugin for this but it seems both tedious and necessary for the changes I want.

So the question is: what is the simplest way to modify the engine code? I feel kind of lost here. It seems it should be pretty easy but I cannot figure it out. I have already made some custom C++ classes but this is different. Is there a way I can just tell Visual Studio to Rebuild the engine with modification I made?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Bionic\_Ape](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bionic_ape/32/1090124_2.png) [@Bionic\_Ape](https://forums.unrealengine.com/u/Bionic_Ape)\
**Post date:** [February 6, 2017, 9:04pm UTC](https://forums.unrealengine.com/t/simplest-way-to-modify-the-engine-code/384102/2 "2017-02-06T21:04:12Z")

</div>

The easiest way might be cloning the Engine from Github and changing whatever you want to change and compile it.

[https://github.com/EpicGames/UnrealEngine](https://github.com/EpicGames/UnrealEngine)

Another approach might be creating a custom Engine, this is a short tutorial:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

I hope it helps.
