# Stats not enabled in Test build, docs say they should be

**URL:** <https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234>\
**Category:** Feedback & Requests\
**Tags:** stats, build, unreal-engine, documentation, bug-report, question\
**Created:** [June 1, 2016, 9:32am UTC](https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234 "2016-06-01T09:32:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bennicus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bennicus](https://forums.unrealengine.com/u/Bennicus)\
**Post date:** [June 1, 2016, 9:32am UTC](https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234/1 "2016-06-01T09:32:54Z")

</div>

Hi,

Latest version of Build.h :  
[https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/Core/Public/Misc/Build.h](https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/Core/Public/Misc/Build.h)

Line 196 in Test config, it has “#define STATS 0”, but in the docs here:

> **[Compiling Game Projects](https://docs.unrealengine.com/5.1/en-US/compiling-game-projects-in-unreal-engine-using-cplusplus/)**
>
> Compiling individual game projects using Visual Studio on Windows, or Xcode on Mac.

It describes Test as:

_“This configuration is the Shipping configuration, but with some console commands, stats, and profiling tools enabled”_

One or the other of these is wrong, but which?

Cheers,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [June 3, 2016, 8:15pm UTC](https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234/2 "2016-06-03T20:15:08Z")

</div>

Hi ,

I took a look at the source code you mentioned and saw what you described there. However, when I built a project using the `Test` Solution Configuration, I was able to bring up the console in the game and run various stat commands. Are you unable to run these commands when you build in the `Test` Solution Configuration?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [June 12, 2016, 1:09pm UTC](https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234/3 "2016-06-12T13:09:54Z")

</div>

Hi ,

We have not heard back from you for a few days. Do you still need help with this issue? I will be marking this post as resolved for internal tracking purposes, but please feel free to add a comment with more information at any time to re-open the post.

---

<div class="post-metadata">

**Author:** ![Bennicus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bennicus](https://forums.unrealengine.com/u/Bennicus)\
**Post date:** [June 13, 2016, 5:09pm UTC](https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234/4 "2016-06-13T17:09:10Z")

</div>

Hi ,  
Yeah in test builds of our game none of the stat commands do anything unless we go and change that #define in Build.h!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [June 13, 2016, 9:22pm UTC](https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234/5 "2016-06-13T21:22:26Z")

</div>

Hi ,

I have not yet seen any stat commands not work for me in a Test build of a project. Do you see this happen in a new project as well, or only in your own project? What are the exact stat commands that you are using that are not working?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_06c8c843](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_06c8c843](https://forums.unrealengine.com/u/anonymous_user_06c8c843)\
**Post date:** [July 11, 2016, 1:40am UTC](https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234/6 "2016-07-11T01:40:20Z")

</div>

Hi ,

Thanks for your attention on this issue. I haven’t been able to get “stat game” “stat startfile” or even “stat info” to be recognized in Test builds. Are those expected to work?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [July 19, 2016, 5:19pm UTC](https://forums.unrealengine.com/t/stats-not-enabled-in-test-build-docs-say-they-should-be/359234/7 "2016-07-19T17:19:10Z")

</div>

Hi PerilousOrbit,

Sorry for the delay in getting back to you. I checked on what stat commands were expected to work in a Test build. The only ones that should work are Stat FPS and Stat UNIT (ironically, these were the two that I was testing earlier). The rest of the Stat commands are not intended to be included in Test builds.
