# Issue with using ' BuildRuntimeAutoCompleteList'. 

**URL:** <https://forums.unrealengine.com/t/issue-with-using-buildruntimeautocompletelist/2667496>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [September 11, 2025, 6:15pm UTC](https://forums.unrealengine.com/t/issue-with-using-buildruntimeautocompletelist/2667496 "2025-09-11T18:15:53Z")\
**Posts on this page:** 3\
**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:** [September 11, 2025, 6:15pm UTC](https://forums.unrealengine.com/t/issue-with-using-buildruntimeautocompletelist/2667496/1 "2025-09-11T18:15:53Z")

</div>

Hi,

Question from one of my engineers.

**Subject:**

Custom UConsole Subclass Doesn’t Persist HistoryBuffer—Manual Save/Load Required via ConsoleHistory.ini

**Details:**

Implemented `UP1Console` derived from `UConsole` using the following details:

UCLASS(Within=GameViewportClient, config=Input, MinimalAPI)

class UP1Console : public UConsole

1. Matching the UCLASS specifiers of UConsole (with and without the Transient)

2. DefaultEngine.ini

[/Script/Engine.Engine]

ConsoleClassName=/Script/P1Game.P1Console

3. DefaultEditor.ini

[/Script/UnrealEd.UnrealEdEngine]

ConsoleClassName=/Script/P1Game.P1Console

I created the class in order to register auto complete entries for custom cheat commands, so really the only function I overloaded was BuildRuntimeAutoCompleteList

What broke was the console command history between app sessions was lost (specifically in a PIE session). Ultimately to patch it I wrote brute force saves/loads. But I shouldn’t have to do that, so it feels like there is something crucial missing or perhaps it’s an engine bug.

Files attached, it’s generic code and nothing propriety.

Thanks,

Simon

---

<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:** [September 18, 2025, 3:05pm UTC](https://forums.unrealengine.com/t/issue-with-using-buildruntimeautocompletelist/2667496/2 "2025-09-18T15:05:42Z")

</div>

Hi,

Any update on this.

Thanks,

Simon

---

<div class="post-metadata">

**Author:** ![UE\_Seb.Tho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_seb.tho/32/1104173_2.png) [@UE\_Seb.Tho](https://forums.unrealengine.com/u/UE_Seb.Tho)\
**Post date:** [September 22, 2025, 2:10pm UTC](https://forums.unrealengine.com/t/issue-with-using-buildruntimeautocompletelist/2667496/3 "2025-09-22T14:10:44Z")

</div>

Hey Simon,

Apologies for the delay. I started looking at this last week but got swamped with other tasks.

The issue here is that the _HistoryBuffer_ member misses the _GlobalConfig_ UProperty flag. That flag ensures that any derived classes save into the parent class section in the .ini file (i.e. save into _[/Script/Engine.Console]_ rather than _[/Script/GameName.P1Console]_ ).

You can manually set the config section to save to by overriding the virtual **OverrideConfigSection()** function in your custom console class like this:

`virtual void OverrideConfigSection(FString& SectionName) override { SectionName = UConsole::StaticClass()->GetPathName(); }`I’ll double check with our config devs and add the _GlobalConfig_ flag to that property so that the workaround is hopefully no longer necessary in future releases.

Best,

Sebastian
