# Network - How to debug/show network traffic in UE4?

**URL:** <https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, debug, unreal-engine, Multiplayer, question\
**Created:** [June 6, 2014, 7:40pm UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213 "2014-06-06T19:40:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tatoforever](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tatoforever](https://forums.unrealengine.com/u/tatoforever)\
**Post date:** [June 6, 2014, 7:40pm UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/1 "2014-06-06T19:40:01Z")

</div>

Hello guys,  
I’ve previously posted a question regarding some issues that we had connecting to a listening server (that I host locally). We find out that it was our router and it got fixed with a suggested port forwarding. Now the problem is that it lags a lot. I for instance tried very small networking examples (custom third person template) with two players and I see other guys pooping (as if the interpolation never existed) and updating very slowly. However wen I test locally (in my LAN) everything it’s gazillions fluid. I wondering how can I know if my Router is slowing things down? Is there a way to debug/show network traffic in UE4?  
Any suggestions would be appreciated! 🙂

---

<div class="post-metadata">

**Author:** ![Ryan\_Gerleve](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ryan\_Gerleve](https://forums.unrealengine.com/u/Ryan_Gerleve)\
**Post date:** [June 6, 2014, 8:35pm UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/2 "2014-06-06T20:35:19Z")

</div>

There is a network profiler application included with the engine. It can show you a lot of information about how much bandwidth is being used, how many properties and actors are being replicated, and more. It is an advanced tool and we’d like to improve the interface in the future, but it should get you started.

It’s located at \< your Unreal install directory \>/\< version \>/Engine/Binaries/DotNET/NetworkProfiler.exe.

In order to view data in the application, you have to capture a profile while your game is running. To do this, enter the command ‘netprofile’ in the console to start recording and enter it again to stop recording. After recording stops, there should be an \*.nprof file in your game’s Saved/Profiling directory. Open this file in the Network Profiler and you can see the statistics that were recorded.

Note that more information is recorded when profiling on the server, so you may find that more useful in debugging.

---

<div class="post-metadata">

**Author:** ![tatoforever](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tatoforever](https://forums.unrealengine.com/u/tatoforever)\
**Post date:** [June 6, 2014, 9:35pm UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/3 "2014-06-06T21:35:39Z")

</div>

Thanks for the tips and info Ryan! 🙂

---

<div class="post-metadata">

**Author:** ![tatoforever](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tatoforever](https://forums.unrealengine.com/u/tatoforever)\
**Post date:** [June 6, 2014, 10:19pm UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/4 "2014-06-06T22:19:59Z")

</div>

Sorry but when I type **netprofile** in the console, nothing happens, it says “Unrecognized Command”.

---

<div class="post-metadata">

**Author:** ![Ryan\_Gerleve](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ryan\_Gerleve](https://forums.unrealengine.com/u/Ryan_Gerleve)\
**Post date:** [June 6, 2014, 10:31pm UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/5 "2014-06-06T22:31:59Z")

</div>

Ah, sorry. I forgot to mention that you need to use an editor build to enable that command!

---

<div class="post-metadata">

**Author:** ![CreatureNZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CreatureNZ](https://forums.unrealengine.com/u/CreatureNZ)\
**Post date:** [October 21, 2014, 3:32am UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/6 "2014-10-21T03:32:57Z")

</div>

Does this still work in 4.5? Just tried it and all it will output is a \*.tmp file

---

<div class="post-metadata">

**Author:** ![Juanma.elx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Juanma.elx](https://forums.unrealengine.com/u/Juanma.elx)\
**Post date:** [November 4, 2014, 10:01am UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/7 "2014-11-04T10:01:49Z")

</div>

Once you type ‘netprofile’, the engine will generate a .tmp. And then, when you want to finish the network profile recording, you have to type again ‘netprofile’.  
Automatically, the tmp file will be converted into the desired .nrprof file.

---

<div class="post-metadata">

**Author:** ![MADHOUSE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MADHOUSE](https://forums.unrealengine.com/u/MADHOUSE)\
**Post date:** [July 23, 2015, 11:08pm UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/8 "2015-07-23T23:08:23Z")

</div>

it does not work for me, using 4.8.2, it only outputs a .tmp file even if I type “netprofile” twice.

---

<div class="post-metadata">

**Author:** ![Omberone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omberone](https://forums.unrealengine.com/u/Omberone)\
**Post date:** [September 4, 2015, 12:23pm UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/9 "2015-09-04T12:23:28Z")

</div>

Same for me

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_877eb531](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_877eb531](https://forums.unrealengine.com/u/anonymous_user_877eb531)\
**Post date:** [November 4, 2015, 10:47am UTC](https://forums.unrealengine.com/t/network-how-to-debug-show-network-traffic-in-ue4/285213/10 "2015-11-04T10:47:11Z")

</div>

Any infos on how this works in 4.8.3? It keeps not creating the file properly…
