HapticService causing crashing

Originally posted in developer discussion by Mewious

how to reproduce:
plug in a controller on pc (windows)
join this the repro place below (uncopylocked)
wait 3 seconds, your game will close instantly and your controller will infinitely vibrate until you unplug it.

Repro place: Haptic - Roblox

7 Likes

Possibly related, I notice when I have my PS5 controller plugged into my PC, Roblox games insta-crash after starting. If I play with an Xbox Series controller plugged in it works fine. As soon as I plug in a PS5 controller while a running game, it crashes.

3 Likes

I can confirm that I experienced the same issue on two different computers (Running Windows 10/11) with both the Dualsense and DualShock 4 controllers.

1 Like

Yup. Was just going to post about this, doing it to me too, with a controller.
You can try on this game with an Xbox controller:

3 Likes

This issue is affecting my game Microwave Dinner. This is a new bug. Iā€™ve been playing the game all day testing for an update to the game that will be released tomorrow. I know it didnā€™t happen earlier today, but now does. It is an issue with the latest version of the Roblox player. No issues with Studio.

Only if a controller is connected, the game will crash after being teleported from the title screen. The game makes heavy use of HapticService, but the title screen does not. This happens on all 3 computers Iā€™ve tested, running Windows 10 and Windows 11. It happens with an Xbox Core controller, PS5 DualSense controller, 8bitdo Ultimate controller, and PowerA Wired Xbox Controller.

The game is completely unplayable on controller, right on time for when Iā€™m releasing a major update that many players are anticipating. I hope this can get fixed! Controller is the best way to play the game :slight_smile:

Playing other Roblox games with controller doesnā€™t crash, likely because they donā€™t use HapticService as the initial post suggests. Playing the other games linked here also crashes for me. I donā€™t have the infinite vibration issue though.

Microwave Dinner - Roblox

EDIT: As of 11:05 PM EST I can no longer reproduce this bug

1 Like

Should this honestly be marked robloxcritical, as it is making many games completely unplayable? I am having the same issue in my game as well. I havenā€™t determined if it just happens on the Windows version of Roblox or if it is happening on Xbox, Playstation, and Mobile builds as well. Very inconvenient timing coming immediately after Playstation release!

Midnight Racing and Project Trackday are my 2 games effected.

Thanks for the report! Weā€™ll follow up when we have an update for you.

3 Likes

This should be fixed now. Thank you for letting us know!

4 Likes

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