Freezes in first launch after installation


We are experiencing some small freezes when first playing a game after an installation on mobile devices. Those freezes are no longer ocurring even after closing and reopening the game. They happen mostly while using particle effects and applying some materials for the first time since installation.

My guess is, it has something to do with compiling shaders on the run, after which they are cached on the device. If that’s the case, is there any way to force all the necessary operations to happen during loading? If not, what else could it be?

We tried placing objects with said materials and emitters somewhere on the loading sub-level and out of sight, but it didn’t have the desired effect.

Any help would be appreciated.