How to compile all the shaders of the game in the main menu of the build?

my game starts with the main menu. At the start of the first level, the cut scene begins. But it turns out to be jerky, due to the preparation of shaders. Is there a way to compile shaders right in the main menu when you first start the game, like in Atomic Heart?