# Mobile - lags on the first run

**URL:** <https://forums.unrealengine.com/t/mobile-lags-on-the-first-run/469176>\
**Category:** Mobile\
**Tags:** Mobile, unreal-engine, iOS, Android, question\
**Created:** [August 4, 2020, 1:46pm UTC](https://forums.unrealengine.com/t/mobile-lags-on-the-first-run/469176 "2020-08-04T13:46:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmt\_k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dmt\_k](https://forums.unrealengine.com/u/Dmt_k)\
**Post date:** [August 4, 2020, 1:46pm UTC](https://forums.unrealengine.com/t/mobile-lags-on-the-first-run/469176/1 "2020-08-04T13:46:47Z")

</div>

I am creating a mobile game for both Android and IOS platforms. I have one issue on every device **on a first run**. The game freezes when any asset first time appears on the scene(static mesh, particle, etc.). Second and further runs I have stable 60 fps with no freezes.  
Any advice would be great.

---

<div class="post-metadata">

**Author:** ![Dmt\_k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dmt\_k](https://forums.unrealengine.com/u/Dmt_k)\
**Post date:** [August 14, 2020, 12:55pm UTC](https://forums.unrealengine.com/t/mobile-lags-on-the-first-run/469176/2 "2020-08-14T12:55:42Z")

</div>

I spent some time investigating the root cause. So, here what I found:

- Use [PSO cahing](https://docs.unrealengine.com/en-US/Engine/Rendering/PSOCaching/index.html)
- On old android devices, you can spawn actors that have complex materials before loading the main levels and show a loading screen.([shipping build - hitches in the first run of level - Mobile Development - Unreal Engine Forums](https://forums.unrealengine.com/development-discussion/android-development/1647488-shipping-build-hitches-in-the-first-run-of-level))
- [Asset Management](https://docs.unrealengine.com/en-US/Engine/Basics/AssetsAndPackages/AssetManagement/index.html#:~:text=Conceptually%2C%20the%20Asset%20management%20system,is%20obtained%20by%20calling%20GetPrimaryAssetId%20.) could be useful, but for some reason, it doesn’t work on Android.

Useful article - [https://developer.oculus.com/blog/developer-perspective-improving-memory-usage-and-load-times-in-ue4/](https://developer.oculus.com/blog/developer-perspective-improving-memory-usage-and-load-times-in-ue4/)

Hope this helps someone 🙂

---

<div class="post-metadata">

**Author:** ![Oleksandr\_Thanku](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oleksandr\_Thanku](https://forums.unrealengine.com/u/Oleksandr_Thanku)\
**Post date:** [January 20, 2021, 3:44pm UTC](https://forums.unrealengine.com/t/mobile-lags-on-the-first-run/469176/3 "2021-01-20T15:44:24Z")

</div>

Thanks. Any other tips? When I look around for the first time in my android game, it just freezes for several seconds and then I get 60 fps. I have a rather big landscape and the village is on the hill, so all assets load at same time even at large distances
