-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS simulator crashes when Xbox controller is connected #7718
Comments
I'll work on some more detailed testing when I have time (which might not be for a while), but I was able to run simulation on the :devRobot project in allwpilib with a Logitech controller connected. |
I can't reproduce this in the SimpleDifferentialDriveSimulation Example, although I only have a wired xbox 360 controller Is this on Intel or Apple Silicon? Does it happen if AdvantageKit isn't used? I noticed that you have AdvantageKit 4.0.0 which isn't compatible with WPILib 2025.2.1 |
I tried it with a wireless xbox controller also, and it also didn't crash, and I tried it with the AdvantageKit_DiffDriveTemplate with 4.1.0 as well. I'm on a apple silicon Mac mini with macOS 15.2/3 |
I'm on apple silicon with macOS 15.1.1. This happens even in a freshly created, empty robot project. Here's the output from that:
I can try updating to 15.3 and see if that does anything. Also, I'm specifically using an elite controller, not sure if that makes a difference. I don't have any wireless normal controllers to try. The controller does work fine when wired. |
Still occurs on 15.3 |
Could you send |
That crash very much looks like this fix in GLFW glfw/glfw@2c1d310#diff-d26bed262e1dde179ef7b80270b5ad9a3c13dcc37955cdd527248f0ce7f66d14 Which isn't really a fix, but more of just a won't crash. Our version of glfw is older than that. |
In privacy and security, do you see anything that's requested input monitoring or bluetooth permission? I don't on mine. |
Yes, but if I disable them it still crashes. |
Describe the bug
If an Xbox controller is connected to a macOS computer (in my case it's wireless through bluetooth) the simulator will crash when run. Disconnecting the controller allows the simulator to run normally.
Console output:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Simulator should run when controllers are connected, and allow them to be mapped/used.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: