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

1.20.1 Forge client failed to launch #197

Open
Starcloudsea opened this issue Feb 12, 2024 · 3 comments
Open

1.20.1 Forge client failed to launch #197

Starcloudsea opened this issue Feb 12, 2024 · 3 comments

Comments

@Starcloudsea
Copy link

crash-2024-02-12_11.41.41-fml.txt
client crashes and looks like architectury framework can't be remapped correctly
and this bug cannot appeared in every PC

@Starcloudsea
Copy link
Author

Starcloudsea commented Feb 14, 2024

Hi, this issue was brought up by my friend manipulating my computer, and the information provided may be less due to perhaps a laggy network or some other reason.

The project that went wrong has been hosted on GitHub (in this repository), and my friend's Forge client works fine after a normal build, but I got an exception on startup after the build, and the exception message is the file above.

I think this problem is bound to happen, but not on every computer.

However, after my friend solved the problem by replacing architectury-forge-9.1.12.jar and architectury-forge-9.1.12-sources.jar in the .gradle/loom-cache/remapped_mods/loom_mappings_1_20_1_layered_hash_40359_v2_forge_1_20_1_47_2_20_forge/dev/architectury/architectury-forge/9.1.12 folder (the replacement files all came from my friend's computer), the Forge client now launches normally with no exception thrown.

Oh yeah, the IDEs we use are both IntelliJ IDEA and I haven't made any changes to the Gradle settings since installation.

As well, I created another project with Architectury today, this time I created a 1.20.2 project with Forge, Fabric Loader, Fabric API and Architectury API all up-to-date (I'll give their exact versions at the end), and then, this time, a new exception was thrown:

Error.txt

This file contains the entire log for more than just exceptions.

After throwing this exception, the game is stuck.

Note that I didn't write a single line of code for the main of either the first project I got the error on or the new one (except for the file conversion).

This is my runtime environment:

The first item that went wrong:

  • Gradle: 8.6-bin
  • Project JDK, environment variables and Gradle JDK: all for the same JDK, Oracle JDK 17
  • Minecraft version: 1.20.1
  • Forge version: 1.20.1-47.2.20
  • Fabric Loader version: 0.15.6
  • Fabric API version: 0.91.0+1.20.1
  • Architectury version: 9.1.12
  • dev.Architectury.Loom version: 1.4.362 (apply false)
  • Architectury-Plugin version: 3.4.146
  • Writing Language: Kotlin (I tested Java after file replacement and it still runs fine)
  • Kotlin version: 2.0.0-Beta3
  • IDE: IntelliJ IDEA Community
  • Minecraft Development IntelliJ IDEA plugin version: 2023-1.7.2
  • Architectury IntelliJ IDEA plugin version: 1.6.3

The project I created today:

  • Gradle: 8.6-bin
  • Project JDK, environment variables and Gradle JDK: all the same JDK, Oracle JDK 17
  • Minecraft version: 1.20.2
  • Forge version: 1.20.2-48.1.0
  • Fabric Loader version: 0.15.7
  • Fabric API version: 0.91.6+1.20.2
  • Architectury version: 10.0.18
  • dev.Architectury.Loom version: 1.4.362 (apply false)
  • Architectury-Plugin version: 3.4-SNAPSHOT
  • Writing language: Java (no Kotlin libraries have been added to this project, and no files have ever been converted from Java to Kotlin).
  • IDE: IntelliJ IDEA Community
  • Minecraft Development IntelliJ IDEA plugin version: 2023-1.7.2
  • Architectury IntelliJ IDEA plugin version: 1.6.3

The Fabric client starts fine, even if the Forge client doesn't.

Since my English is very inferior to my friend's, all texts except the first one that my friend sends on his behalf are translated by DeepL.

@Starcloudsea
Copy link
Author

2 months later this issue still hasn't been answered, I just wanted to ask what's going on? Is this not a bug?

@boholder
Copy link

Try to refresh the gradle cache with gradlew --refresh-dependencies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants