ConsoleCommand Stat NET showing as Command Not Found, can't use Stat NET

Dear Friends at Epic,

I start a ?Listen server game,

I go to console

I type Stat N TAB to autocomplete

I see Stat NET

I press enter

It says Stat NET command not found.

I am using 4.2.0

Any ideas?

Thanks!

Rama

Hi Rama,

Hmm, it doesn’t look like this is working correctly at the moment, sorry about that. I’ll dig a little deeper and see if I can get it working, leave it with me.

Thanks

Andrew

okay thanks for the update!

:slight_smile:

Rama

Hi Rama,

The message printed out to the log is a false negative, the stat is still there – it’s just reporting that’s it’s not, in error.
Additionally, the stat itself wasn’t activating correctly (regardless of the above), this has now been fixed too.

Both fixes can be obtained here:
https://github.com/EpicGames/UnrealEngine/commit/4e1524719adb6fbc08af5388106ecbb180cb7e62

(if you’re having trouble integrating a quick fix can be obtained by commenting out the IsCollectingData line from UNetDriver::TickFlush)

It’s important to note that Stat Net will only display UI information if a Server has Clients attached OR a Client is connected to a Server.

Let me know if you still have any issue tho.

Thanks

Andrew

Thank you for the very detailed post and the extremely timely fix Andrew! (turn around time of less than 24 hrs!)

Yay!

Rama