# Proper way to use network profiling to see RPCs and actors?

**URL:** <https://forums.unrealengine.com/t/proper-way-to-use-network-profiling-to-see-rpcs-and-actors/431942>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, dedicated-server, profiling, profiler, unreal-engine, question\
**Created:** [August 19, 2018, 4:23am UTC](https://forums.unrealengine.com/t/proper-way-to-use-network-profiling-to-see-rpcs-and-actors/431942 "2018-08-19T04:23:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gothicserpent](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gothicserpent/32/896180_2.png) [@gothicserpent](https://forums.unrealengine.com/u/gothicserpent)\
**Post date:** [August 19, 2018, 4:23am UTC](https://forums.unrealengine.com/t/proper-way-to-use-network-profiling-to-see-rpcs-and-actors/431942/1 "2018-08-19T04:23:16Z")

</div>

I was trying to use this tool here [Network Profiler | Unreal Engine Documentation](https://docs.unrealengine.com/en-us/Gameplay/Tools/NetworkProfiler) in a binary i connected to my dedicated aws t2.micro instance, which all works.

I typed netprofile once to record, recorded myself moving and shooting lasers for about 30 minutes, and typed netprofile again. the .prof file was created, and i inspected it, and did not see any actors or any other information (as in image below).

 ![250918-network-profiler.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/f/cff47247a7c5e87f6027c9cdda13532ac2f6dd95.jpeg)

I then read that you can enable the network profiler on the server, and i tried to add the “-log -networkprofiler=true” line to the ded server shortcut, but the network profiler wouldn’t start on the server?

in addition to this, i tried using this tool here [Profiler Tool Reference | Unreal Engine Documentation](https://docs.unrealengine.com/en-us/Engine/Performance/Profiler) and was able to find the “net” group of information in each frame (connected from standalone and typed in “stat startfile” in the console and to stop “stat stopfile”. seemed to create the profile that i could launch in the session front end, and that opens properly.

 ![250917-session-frontend-net.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/7/4475d00e0fe4a8df97bfd962b4482186bfe1515f.jpeg)

When I look at the “net group” as in the image, i don’t really think i fully understand what is going on here in terms of where the latency is and what is happening exactly, i know i can search for “net” in the search for filter events textbox in the bottom right, but is this the proper way to do it?

I’m basically just trying to get my game network optimized for multiplayer, and trying to find areas in RPC code and any replicated variables and/or actors that should be set differently or in another way to make the game still play great but have as little packet loss as possible over the network.

In addition to the above, if it’s possible to add a stat to a blueprint node such that it can later display in the profiler, does anyone know the process for this?

Thank you.

i’ve additionally looked at

> **[How do I network profile a dedicated server](https://forums.unrealengine.com/questions/756629/how-do-i-network-profile-a-dedicated-server.html)**
>
> Hi all I currently have a project running on a dedicated server and want to debug its network performance. With the dedicated server running and clients connected I can run netprofile from the command prompt and create a network profile from the...

and

> **[Network - How to debug/show network traffic in UE4?](https://forums.unrealengine.com/questions/53219/network-how-to-debugshow-network-traffic-in-ue4.html)**
>
> 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...

and

> **[Network Profiling in Real-Time?](https://forums.unrealengine.com/questions/728139/network-profiling-in-real-time.html)**
>
> Anyway to get something similar to the network profiling program to work in real-time while testing your game, either in-editor or out? I’ve seen some guys widget a ping value, but I was wondering if something was more built in?

and just want to make sure i’m on the right track here.

---

<div class="post-metadata">

**Author:** ![notrealvitor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/notrealvitor/32/731461_2.png) [@notrealvitor](https://forums.unrealengine.com/u/notrealvitor)\
**Post date:** [June 29, 2019, 12:26am UTC](https://forums.unrealengine.com/t/proper-way-to-use-network-profiling-to-see-rpcs-and-actors/431942/2 "2019-06-29T00:26:18Z")

</div>

Ok here is what I know so far

in the shortcut commands you have to add the networkprofile=true without the hyphen like in the screenshot attached

![281055-screenshot-15.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/7/a376072757a4195b4a9c10a04cc833b3bcdecf46.png)

then you can find you profiler file in the Game\Saved\Profiling folder and to open the file you need to open the network profiler executable located in the UnrealEngine\UE\_version\Engine\Binaries\DotNET folder. In the profiler you just click “open file” and choose your profiling file

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e71ac9c71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e71ac9c71](https://forums.unrealengine.com/u/anonymous_user_e71ac9c71)\
**Post date:** [November 22, 2019, 10:31pm UTC](https://forums.unrealengine.com/t/proper-way-to-use-network-profiling-to-see-rpcs-and-actors/431942/3 "2019-11-22T22:31:34Z")

</div>

Thank you!
