# CsvProfiler with launch parameter "csvAllCategoriesDisabled" 

**URL:** <https://forums.unrealengine.com/t/csvprofiler-with-launch-parameter-csvallcategoriesdisabled/2670408>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [September 15, 2025, 2:32pm UTC](https://forums.unrealengine.com/t/csvprofiler-with-launch-parameter-csvallcategoriesdisabled/2670408 "2025-09-15T14:32:04Z")\
**Posts on this page:** 6\
**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 15, 2025, 2:32pm UTC](https://forums.unrealengine.com/t/csvprofiler-with-launch-parameter-csvallcategoriesdisabled/2670408/1 "2025-09-15T14:32:04Z")

</div>

Hello,

I was trying to use the CsvProfiler with all categories disabled at start then enable specific ones with a config file or the command line parameter “csvCategories=”.

I found the command line parameter “csvAllCategoriesDisabled” that was supposed to do exactly what I needed, since it changes the value of “GAllCategoriesStartDisabled”.

But it doesn’t work with “csvCategories=” because “GCsvCategoriesEnabled” is Memzeroed **after** all the command line parameters are handled in the “Init” function.

While the config file is correctly read after the Memzero, there is an early return in the “UpdateCategoryFromConfig” function if “GAllCategoriesStartDisabled” is set to true. This effectively prevents any category in “CategoriesEnabledInConfig” from being enabled.

I am curious if this was intended.

Thank you very much.

---

<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 15, 2025, 2:32pm UTC](https://forums.unrealengine.com/t/csvprofiler-with-launch-parameter-csvallcategoriesdisabled/2670408/2 "2025-09-15T14:32:09Z")

</div>

**Steps to Reproduce**

---

<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 19, 2025, 11:44am UTC](https://forums.unrealengine.com/t/csvprofiler-with-launch-parameter-csvallcategoriesdisabled/2670408/3 "2025-09-19T11:44:24Z")

</div>

Hi,

Unfortunately, the behavior you’re seeing is intended.

This switch was added as a debugging tool to disable everything, hence it also skips the later config override.

Here’s the relevant line from the commit: “_Add -csvAllCategoriesDisabled and -csvTestCategoryOnly disable all categories and enable just the CsvTest category respectively. These even disable the global category. This is useful for debugging_”.

You can also view the change [here](https://github.com/EpicGames/UnrealEngine/commit/79b42d2fe6ab037912aeb79c8ad60f0495bcccd0) on Github.

Kind Regards,

Sebastian

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a68c0301](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a68c0301](https://forums.unrealengine.com/u/anonymous_user_6a68c0301)\
**Post date:** [October 1, 2025, 9:55am UTC](https://forums.unrealengine.com/t/csvprofiler-with-launch-parameter-csvallcategoriesdisabled/2670408/4 "2025-10-01T09:55:01Z")

</div>

I’ve submitted a change which should help with this. CL 46412919 in //UE5/Main

For context, the -csvAllCategoriesDisabled commandline option was intended for performance testing the CSV profiler itself. But it’s reasonable that specifying specific -csvCategories should work. That is fixed with my change.

If you want to set specific categories via an ini file, you can do that in DefaultEngine.ini like this:

[CsvProfiler]

+EnabledCategories=Audio

+EnabledCategories=Audio\_Metasound

+DisabledCategories=Chaos

Wildcards are also possible there, although +DisabledCategories=\* doesn’t work as you might expect, since enabling is applied before disabling in UpdateCategoryFromConfig. I’ve fixed that in the change mentioned too.

Note though that +DisabledCategories=\* will also disable the GLOBAL and EXCLUSIVE categories, so you’ll need to enable these if you need them.

---

<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 22, 2025, 7:33am UTC](https://forums.unrealengine.com/t/csvprofiler-with-launch-parameter-csvallcategoriesdisabled/2670408/5 "2025-09-22T07:33:08Z")

</div>

Hello,

Would there be a recommended way to start with all categories disabled and enable specific ones with a config file (like DefaultEngine.ini) ?

Regards.

---

<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:** [October 1, 2025, 12:21pm UTC](https://forums.unrealengine.com/t/csvprofiler-with-launch-parameter-csvallcategoriesdisabled/2670408/6 "2025-10-01T12:21:54Z")

</div>

Hello,

This change looks like exactly what I was looking for.

Thank you very much.
