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

Hi,

Latest version of 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:

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,

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?

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.

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!

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?

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?

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.