Player Teleported Randomly After Entering Vehicle Seat

Reproduction Steps

Alt-tab out of the game’s window for maybe 5-10 minutes, and when you came back the car is unmovable. I got out and in, and it started acting the same as in the video. I printed my position in a loop, and noticed it went to nan, nan, nan (same for CFrame) on the Client. On the server, it printed their expected position/CFrame and did not visually see the player disappear. Occurs in our game.
image

Expected Behavior
Expect the player to be able to drive the vehicle normally with no issues

Actual Behavior
Player seemingly teleports away and back, and cannot drive vehicle. Teleporting is assumed since the minimap in the bottom left goes black, indicating the user is off the map somehow. We receive at least 1 report a day from different users on this.

Workaround
Respawning the player and the vehicle fixes the issue

Issue Area: Engine
Issue Type: Performance
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2021-10-30 08:10:00 (-04:00)
Date Last Experienced: 2022-02-09 00:02:00 (-05:00)

13 Likes

Just a bump on this topic as our players still experience this issue. It is only tied to alt-tabbing/unfocusing from the Roblox window for a couple of minutes. Sometimes when walking around after the fact, you’ll notice weird behavior (slight freezing).

Update: Figured a solution after reviewing some updated documentation concerning the RunService. Needed to use Stepped instead of Heartbeat within the A-Chassis scripts

11 Likes