How can I profile UE4 app running on the device ?

I need to profile my game/app when it’s running on the device. I don’t see any documentation pointing me in that direction :confused:

Is there a way to run the app on the phone and either send statistics to PC via WiFi (can’t use USB) or dump stats into log file so I could examine it offline ?

Thanks beforehand

1 Like

The way I do profiling on Android is to use “stat startfile” and “stat stopfile” on the console (4-tap). This will write a .ue4stats file on the sdcard under /sdcard/UE4Game/[you project]. The exact path is written to the logcat. Copy this back to your PC and open it in the profiler tab in the session frontend.

2 Likes

Thanks, will try it.

Yep, that worked. Now I just need to get it into Profiler :slight_smile:

Thanks a lot.
for those looking. in ue5 you load the uestats file by going to the menu " Tools> Sessions frontend " then on the tab Profile you can load.
similar to 4.2x Stat Commands in Unreal Engine | Unreal Engine 5.0 Documentation

Hey can you help me? When I use start startfile and then stat stopfile I am not able to find that file in my mobile. Can you share a screenshot or pany other information of how the files look like in unreal 5

1 Like