Why is gameplay pause activated

So i have a custom joystick for mobile user in my game . However, sometimes gameplay pause will suddenly be activated and the char will be found somewhere else compared to the position when gameplay pause start . Sometimes, gameplay pause will stop after 5 seconds . However, sometimes it does not stop until the character dies . The custom joystick make the character point to the direction of the joystick and move the character . Any ideas why this happen? Thank you!

1 Like

Updates. I found the cause of the error . Idk why but changing the Rotation of a character cause that error. I still have no idea how to solve it

1 Like

Found a slight solution . I compared the Cframe.Lookat(origin,target).Position with humanoidRootPart’s position . If it is greater than 20 then I will not set the CFrame . It works partially as it prevent inf gameplay stall and make the stall be 2-3 seconds long only . Still quite long for a pvp game

If you have StreamingEnabled Enabled, and you set StreamingIntegrityMode to PauseOutsideLoadedArea, it will pause your gameplay until the area around you is loaded (Its in the name).

In order to bypass this, you use Player:RequestStreamAroundAsync(), which sends a request to the Server to load in a specified location before you teleport to said location.
Or, just disable StreamingEnabled entirely.

It is not teleporting but rotating

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.