homchom / recode

a utility-focused fabric mod to make DiamondFire development more fun
GNU Lesser General Public License v3.0
27 stars 28 forks source link

Game crashing through PolyMC on Linux #7

Closed balt-dev closed 2 years ago

balt-dev commented 2 years ago

Here's my crash log crash-2022-08-15_22.12.15-client.txt

homchom commented 2 years ago

Known issue. Copied from the Discord server:

If recode crashes on startup for you with a org.newsclub.net.unix.AFUNIXSocketException, it is probably related to the current Discord RPC feature (which we intend to replace with a more stable replacement). There are two workarounds for this:

  1. Use a different, supported JVM, one that doesn't crash. For example, Temurin JDKs do not work.
  2. Manually disable Discord RPC in the mod's config file at .minecraft/config/recode.json. It is a JSON, so it should look something like this:```json { "discordRPC": false }
homchom commented 2 years ago

Thinking about it more, this issue has come up so often recently that in the mean time I'm going to just disable the feature by default until I fix this.

homchom commented 2 years ago

I implemented a try/catch as a stopgap workaround in beta 4. Also, I know this is old bu to anyone new reading this, don't use PolyMC. Its certificate has been revoked by Microsoft and is no longer a trusted FOSS project.