Mysterious Xbox Controller Crash

Reproduction Steps
I can’t figure out how to make a repro of this, but you can test it easily here: Zombie Rush - Roblox

Step 1: Using a gamepad on PC, Xbox, or Studio, open the weapon menu (Select)
Step 2: Close the weapons menu (Select or B)

Links: Zombie Rush - Roblox
System Info: Intel Core i9-9900K @ 3.6GHz , NVIDIA Geforce RTX 2080 Ti, 32 GB RAM

Expected Behavior
When those steps are followed, the weapon menu should close and you can resume playing

Actual Behavior
It crashes your client

On Xbox One it makes the Roblox App quit to Home
On PC you don’t even get a message saying it crashed it just quits
In Studio it quits and you get the unexpected error occurred message
Mobile + Gamepad is not supported by Zombie Rush currently and I couldn’t test the crash because of that

Issue Area: Engine
Issue Type: Crashing
Impact: Very High
Frequency: Constantly
Date First Experienced: 2022-03-15 23:03:00 (-06:00)
Date Last Experienced: 2022-03-28 00:03:00 (-06:00)
A private message is associated with this bug report

4 Likes

I tested this on my iPad nothing really seems to be happening either I’m too late or this glitch does not happen on ipad

the OP says the issue is on Xbox not iPad

2 Likes

Yea but the issue was occurring on other devices to like computer and they hadn’t tested on mobile so I decided to test it out on my iPad to see

1 Like

Did you try it on iPad with a gamepad? All of the issues I listed are using gamepad, wasn’t able to test specifically gamepad on mobile

1 Like

Can replicate this issue on Windows 10 using Xbox One controller via bluetooth. It’s weird how there is no crash message though, it just closes the window. Strange…

1 Like

Thanks for the report! We are currently investigating this issue and we’ll come back when we have any updates for you.

2 Likes

The way my GUI is designed is probably related to the crash

image

In Zombie Rush, there’s a Frame that holds all the weapon buttons inside the scrolling frames. I changed it so the weapon buttons are only inside the scrolling frame on one of the tabs on a test server and the issue went away until I tried closing it on a tab that had that extra frame that held the buttons and crashed again.

Edit: I have no idea what’s causing this, got it to stop happening on 2 of the tabs in testing but it’s still happening on the rest it seems

Edit 2: I now set GuiService.SelectedObject to nil before doing tweens and it seems to have fixed the issue for the rest of my tabs in my GUI, I notice the selected object would change while the menu was closing before the crash

Hi there! Thanks for the report and for the details for helping repro this issue. I understand you’ve fixed the problem with a workaround, but the underlying engine crash should also be fixed now. Please let us know if you have any further issues.

2 Likes

iPad cant be used with a controller

Not correct, see: Connect a wireless game controller to your Apple device - Apple Support

You can connect most input devices to mobile devices and Roblox should still be expected to work. Controllers are not console-exclusive.

2 Likes

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