sp614x / optifine

1.8k stars 418 forks source link

[Crash] Adding Optifine causes Minecraft to crash on load #5665

Open Merung-Kelsith opened 3 years ago

Merung-Kelsith commented 3 years ago

Description of Issue

Running All the Mods 6 modpack in Minecraft 1.16.5, when I add Optifine_1.16.5_HD_U_G8.jar to the mods directory on my client the game crashes on load. It crashes before it gets to the Minecraft title screen with "The mod file <path/to/file>Optifine_1.16.5_HD_U_G8.jar has mods that were not found." When I remove Optifine, Minecraft runs with no issues.

A friend that is on my server, with the exact same mods, can run Optifine with no issues. He is on Windows, I am running Linux (KUbuntu 20.10)

Steps to Reproduce

Add Optifine to mods directory

OptiFine Version

Optifine_1.16.5_HD_U_G8.jar

Installation Method

Dropped the Optifine jar into my mods folder

Fabric/Forge Version

1.16.5-forge-36.1.24 (I have tried 36.1.0, 36.1.12, 36.1.16, 36.1.18 and 36.1.24)

Other Installed Mods

https://pastebin.com/qYhhcd7J

Log Files/Crash Reports

Attached debug.log latest.log crash-2021-05-23_13.36.31-fml.txt

F3 Debug Screenshot

Cannot get in game for debug screenshot

Prior Testing

No

If you've installed using Forge/Fabric:

Additional Information

In the log files, there are 2 things that I am seeing missing: [23May2021 13:36:25.439] [Render thread/WARN] [net.minecraft.client.renderer.texture.TextureManager/]: Failed to load texture: allthetweaks:textures/gui/title/background.0.png java.io.FileNotFoundException: allthetweaks:textures/gui/title/background.0.png

[23May2021 13:36:25.479] [Render thread/WARN] [net.minecraft.client.renderer.texture.TextureManager/]: Failed to load texture: allthetweaks:textures/gui/title/mojangstudios_drunk.png java.io.FileNotFoundException: allthetweaks:textures/gui/title/mojangstudios_drunk.png

Merung-Kelsith commented 3 years ago

I have tried this on a different Linux installation (also KUbuntu 20.10), with the same results (Missing Mod, will not load to title screen).

KaiAF commented 3 years ago

I am not entirely sure if OptiFine is the mod that is actually causing the crash. From the crash log I think it's immersive engineering. Which could be incompatible with OptiFine. You could try removing that mod, or similar mods.

Merung-Kelsith commented 3 years ago

Thank you for the reply! Unfortunately, I believe some of the server members are using Immersive Engineering - so I do not know if I can remove it. Out of curiosity, any idea why Optifine would work on Windows, but not on Linux in this case? Is there any other information I can provide?

Thanks!

KaiAF commented 3 years ago

OptiFine should work on linux. After taking a second look at the crash logs that you provided. It looks like OptiFine isn't loading correctly.

    Mod File: NO FILE INFO
    Failure message: The Mod File /home/merung/.minecraft/mods/OptiFine_1.16.5_HD_U_G8.jar has mods that were not found
    Mod Version: NO MOD INFO AVAILABLE
    Mod Issue URL: NOT PROVIDED
    Exception message: MISSING EXCEPTION MESSAGE

I am not really sure if this is caused by Linux. But I would suggest re-installing OptiFine? I am not entirely sure. I am not the best at reading crash logs :)

Merung-Kelsith commented 3 years ago

Is there anything special I need to do to install it? I have run the installer (which created the OptiFine version in the launcher), but as I am running a mod pack that did not add OptiFine to the modpack - so I just dropped the jar file in the mods directory.

Thanks!

KaiAF commented 3 years ago

Dropping the Jar file in the mods folder is how you can use OptiFine for forge. You could try installing OptiForge. But I am not sure if that would fix it

Merung-Kelsith commented 3 years ago

I have tried removing and readding, as well as tried previous versions :(