In the game I have a Pause menu that has some UISliders that uses thumb to control the value. so the thumb is the only one that has a collider and when i open this menu I set the Time.timeScale = 0.
The first time I use the slider everything work fine with dragging but when I let go I will not be able to click on the button again because the Physics.RaycastAll cant find it anymore
I have found out that the problem is that the FixedUpdate is never called when time.timeScale is set to 0 and FixedUpdate is the thing that updates the position of the boxcolliders that Physics uses.
So the only solution i have found it to unpause the game and then wait for a FixedUpdate to happen and then pause the game again. I know that i could change how the sliders works but i have a similar problem with some other buttons as well.
So my question is do anyone else have this problem and how did you solve it? Or is there any other fix for this problem?