Calling Seat:Sit(nil) crashes Roblox 100% of the time (null pointer)

Description: Calling Seat:Sit(nil) crashes Roblox.

Frequency: Everytime
Reproduction:

  1. Insert a seat into studio
  2. In the command bar type workspace.Seat:Sit(nil)
  3. Roblox will crash

Also attached is a reproduction of the bug

Crash_SeatSet_nil.rbxl (14.7 KB)

Expected behavior: If a humanoid is sitting, the humanoid is unseated.
Location: Production

Almost certainly a null pointer.

It’d be really nice if you called :Sit(nil), if it would Unseat the current humanoid. An Unsit() method would also work.

10 Likes

Thanks for letting us know, we’ll fix it.

5 Likes

For documentation sake:

  • This bug is fixed
  • seat:Sit(nil) will result in an unseated player if a player is seated

Thank you!

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