# How can I profile UE4 app running on the device ?

**URL:** <https://forums.unrealengine.com/t/how-can-i-profile-ue4-app-running-on-the-device/68816>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [July 12, 2016, 6:11pm UTC](https://forums.unrealengine.com/t/how-can-i-profile-ue4-app-running-on-the-device/68816 "2016-07-12T18:11:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 12, 2016, 6:11pm UTC](https://forums.unrealengine.com/t/how-can-i-profile-ue4-app-running-on-the-device/68816/1 "2016-07-12T18:11:20Z")

</div>

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 😕

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

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [July 12, 2016, 11:44pm UTC](https://forums.unrealengine.com/t/how-can-i-profile-ue4-app-running-on-the-device/68816/2 "2016-07-12T23:44:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 13, 2016, 12:21pm UTC](https://forums.unrealengine.com/t/how-can-i-profile-ue4-app-running-on-the-device/68816/3 "2016-07-13T12:21:09Z")

</div>

> [@Chris Babcock;563537](#):
>
> 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.

Thanks, will try it.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 14, 2016, 4:04pm UTC](https://forums.unrealengine.com/t/how-can-i-profile-ue4-app-running-on-the-device/68816/4 "2016-07-14T16:04:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [September 7, 2022, 3:12am UTC](https://forums.unrealengine.com/t/how-can-i-profile-ue4-app-running-on-the-device/68816/6 "2022-09-07T03:12:40Z")

</div>

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](https://docs.unrealengine.com/5.0/en-US/stat-commands-in-unreal-engine/)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/3/c53deeea04ee4d3db7e167f13f5bfefa3e8a1ccd.png)

---

<div class="post-metadata">

**Author:** ![Hariomjangra](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hariomjangra/32/967493_2.png) [@Hariomjangra](https://forums.unrealengine.com/u/Hariomjangra)\
**Post date:** [August 4, 2024, 5:15am UTC](https://forums.unrealengine.com/t/how-can-i-profile-ue4-app-running-on-the-device/68816/7 "2024-08-04T05:15:20Z")

</div>

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
