Material turns black after lags

After the lag, the mesh material becomes black.
I tried to update the material, it appears again, but after restarting the project, everything needs to be updated again.