Cloth issue: simulation jumps when not in sight

Hello there,
in my scene there is the animation of a flag to which I have added the cloth. If I start the simulation in a standalone game and navigate in the scene everything seems to work, but when I take the view off the flag and then I come back on it, I see a “jump” of the cloth simulation. What could be the problem? I tried to freeze the render to check if it was the animation, to check for collisions, to remove the physics and disable the “restore after teleport” in the asset details panel.
It seems like a question of culling precomputed visibility, but I can’t solve the problem.
Here you can see the issue