Multiplayer Pause bug replication

I’m trying to create a system where the game is paused in a level up menu for all players but I’m encountering a problem: when pausing the game, some variables stop replicating.
I found a workaround where I set time dilation to a low value (but not too low because the same problem occurs when pausing).
Has anyone experienced this? An alternative to changing time dilation isn’t working well enough.