Skip to content
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

Crash on trying to open TerasologyLauncher 4.8.0 3 on Mac OS 15 #5286

Open
carleeto opened this issue Oct 14, 2024 · 2 comments
Open

Crash on trying to open TerasologyLauncher 4.8.0 3 on Mac OS 15 #5286

carleeto opened this issue Oct 14, 2024 · 2 comments
Labels
Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems

Comments

@carleeto
Copy link

General Info

Terasology Launcher Version: TerasologyLauncher-mac-4.8.0 3
Terasology Version: don't know - the launcher crashes
Operating System: Mac OS 15.0.1, Apple M1 Pro
Onboard / Dedicated Graphics: unknown
Java Version: unknown

What you were trying to do

I was trying to launch the game. I downloaded the launcher from the site and then opened it to try out the game.

What actually happened

I got a "checking for updates" window, which suddenly disappeared, and then the launcher icon disappeared from the dock, so I assume it crashed.

How to reproduce

  1. Download Terasology for MacOS from https://terasology.org/downloads/
  2. Launch on an M1 Pro with Mac OS 15.0.1 installed (bypass gatekeeper)
  3. The launcher icon appears in the dock and a window appears which says it is checking for updates.
  4. Both abruptly disappear

Log details

There was no crash reporter, so I don't know where to find the logs.

Workaround

I have not found a workaround.

Additional Infos / Context

I was trying to run it because schools have heard of this project, and the kids want to try it out.

@carleeto carleeto added Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems labels Oct 14, 2024
@BenjaminAmos
Copy link
Contributor

Unfortunately, I believe the latest release of the game still has issues running on M1 Mac devices. Some efforts have been made to support macOS (AArch64) but we have a limited capacity to test there due to only a few contributors possessing the required hardware. The launcher might be experiencing similar issues.

It is unlikely to work but does the game run at all under Rosetta?

You might be able to obtain some logging from the launcher if you run it from the terminal. Being able to run the jar file directly with java -jar Contents/lib/TerasologyLauncher.jar inside of TerasologyLauncher.app may also show some things (I have not tried this on macOS yet though).

@nanikh91
Copy link

Hello, I am working on a MacBook Air M1 (2020), running macOS Ventura 13.5. Here is what I did to try and reproduce the issue with the TerasologyLauncher (version 4.8.0):

  1. Downloaded the launcher from the Terasology website.

  2. After bypassing Gatekeeper, I attempted to launch the game, but the launcher crashed shortly after displaying the "checking for updates" window (just as described)

  3. I also tried running the launcher from the terminal with :
/Applications/TerasologyLauncher.app/Contents/MacOS/TerasologyLauncher

  4. The launcher started successfully, but I encountered repeated errors while fetching game versions:
    Invalid version (no major version)
    Missing game asset

  5. I downloaded Terasology 5.3.0 through the launcher, but the game failed to launch properly due to an error related to GLFW :
    java.lang.IllegalStateException: GLFW may only be used on the main thread


  6. Additionally, I received an error when the launcher tried to connect to Discord's RPC:

    Could not create or connect Discord client: java.net.SocketException: No such file or directory

  7. I also tested launching the app using Rosetta, but I was unable to force it to run

I plan to test the launcher on older versions of macOS to see if the issues persist on other versions.

I would like to work on fixing this issue, as I have the required hardware and can test any necessary patches. Could you please assign this issue to me? Let me know if you need additional logs or specific tests, and I’m happy to help with further debugging on this M1 device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems
Projects
Status: No status
Status: No status
Development

No branches or pull requests

4 participants
@carleeto @BenjaminAmos @nanikh91 and others