# Using 2 layers of Custom/Config/DefaultGame.ini 

**URL:** <https://forums.unrealengine.com/t/using-2-layers-of-custom-config-defaultgame-ini/2697159>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [December 24, 2025, 4:21am UTC](https://forums.unrealengine.com/t/using-2-layers-of-custom-config-defaultgame-ini/2697159 "2025-12-24T04:21:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [December 24, 2025, 4:21am UTC](https://forums.unrealengine.com/t/using-2-layers-of-custom-config-defaultgame-ini/2697159/1 "2025-12-24T04:21:32Z")

</div>

Hi, is there a way to have 2 layers of Custom/Config/Folder/DefaultGame.ini files applied during a build?

For our project we are currently using two Custom/Config setups. One setup is for shipping builds and the other for non-shipping builds. However, both DefaultGame.ini files have very similar content. We would like to change the structure to be something like **Custom/Config/Common/DefaultGame.ini** and **Custom/Config/Shipping/DefaultGame.ini**.

We would then only apply the **Common/DefaultGame.ini** for non-shipping builds. For shipping builds on the other hand, we would want to apply both **Custom/Config/Common/DefaultGame.ini** and **Custom/Config/Shipping/DefaultGame.ini** to the packaging process. This would allow us to consolidate the files and remove redundant content in the .ini files.

We are mostly concerned with the **[/Script/UnrealEd.ProjectPackagingSettings]** section of the files where we are using a lot of **DirectoriesToAlwaysCook** that we need to exclude when our custom configs are invoked. The normal **Config/DefaultGame.ini** has to remain untouched.

So far I have tried using -AdditionalCookerOptions=“-CustomConfig=Common+Shipping” and vice versa, but the build ended up including all assets regardless.

What am I missing to make this work?

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/924220_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [January 5, 2026, 1:36pm UTC](https://forums.unrealengine.com/t/using-2-layers-of-custom-config-defaultgame-ini/2697159/2 "2026-01-05T13:36:49Z")

</div>

Hello!

The custom config system does not support merging ini from different config right now. Can you share more details regarding with are the differences between the 2 custom configs? Maybe some of the differences can be managed differently.

One thing that might be helpful here is that it is possible to pass settings through the command line.

Here is an example from the doc but it can also be used for other ini than the Engine one: -ini:Engine:[/Script/Engine.Engine]:bSmoothFrameRate=False,[TextureStreaming]:PoolSize=100

[https://dev.epicgames.com/documentation/en\-us/unreal\-engine/configuration\-files\-in\-unreal\-engine\#overrideconfigurationfromthecommand\-line](https://dev.epicgames.com/documentation/en%5C-us/unreal%5C-engine/configuration%5C-files%5C-in%5C-unreal%5C-engine%5C#overrideconfigurationfromthecommand%5C-line)

Regards,

Martin

[Attachment Removed]
