libgdx / libgdx/gdx-controllers
MacOS crashes on Controllers.getControllers()
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 86
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
It works fine on Linux, Android, etc.
But for some reason, when it gets to this specific line in MacOS, the program hangs.
Controllers.getControllers()
I've proven this with debug statements.
It doesn't matter if I have a controller connected via USB, paired with bluetooth (and working in another game), or no controller at all. Same result.
I'm on the "latest" 2.2.3 gdx-controllers. Yes, I put it in quotes, because it's 1.3 years old, and I noticed at least 2 commits since the 2.2.3 release which could affect this.
Using the latest LibGDX as well.
1.12.1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the hang at Controllers.getControllers() on macOS with gdx-controllers 2.2.3 and libGDX 1.12.1, using the reported debug statements. Compare behavior with and without a connected controller and against Linux or Android. Done means the call returns normally in each reported macOS controller configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, macos
- Domain
- desktop, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100