Legacy4J

Legacy4J

192k Downloads

[Bug/Glitch] Java Runtime crashes when switching to keyboard input

Cjnator38 opened this issue ยท 3 comments

commented

Legacy4J Version

1.21-1.7.4

Mod Loader Version

Fabric Loader 0.16.2

Bug/Glitch Occurrence Context

More often than not, pressing a key on the keyboard after using controller input crashes JRE.

Img.3765.mp4

Crash Report

https://mclo.gs/n0ycGtX

What happened wrong?

Pressing any key on the keyboard after using controller input for a bit causes a JRE crash

commented

This isn't directly related to the keyboard input itself, but it's related to the used Java installation on ur system
These occurrences started from 1.7.3 (this has never happened to me, even though I forced the probable reasons), the real reason isn't known, but this can be fixed if you use a different Java installation.

commented

This isn't directly related to the keyboard input itself, but it's related to the used Java installation on ur system These occurrences started from 1.7.3 (this has never happened to me, even though I forced the probable reasons), the real reason isn't known, but they can be fixed if you use a different Java installation.

For me, it doesn't seem like an issue with the Java install, but rather an issue with a mod used in both Re-Console and Legacy Remade. I've had these crashes with all the versions of Java 21 I have on my system (Eclipse Adoptium, GraalVM, and the runtime provided by the official Minecraft Launcher), and on a bare Legacy4J instance, crashes are a lot less frequent, if at all.

commented

This isn't directly related to the keyboard input itself, but it's related to the used Java installation on ur system These occurrences started from 1.7.3 (this has never happened to me, even though I forced the probable reasons), the real reason isn't known, but they can be fixed if you use a different Java installation.

For me, it doesn't seem like an issue with the Java install, but rather an issue with a mod used in both Re-Console and Legacy Remade. I've had these crashes with all the versions of Java 21 I have on my system (Eclipse Adoptium, GraalVM, and the runtime provided by the official Minecraft Launcher), and on a bare Legacy4J instance, crashes are a lot less frequent, if at all.

All the playtesters who were experiencing this crash and changed their Java installation no longer have it, I don't think it's a mod present in these two modpacks, because if it were it would occur on more devices