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.
I spent some time investigating the root cause. So, here what I found:
- Use PSO cahing
- 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)
- Asset Management 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/
Hope this helps someone
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