sp614x / optifine

1.8k stars 418 forks source link

[1.17.1 (Crash/No Boot)] On launch a Minecraft window never appears and comes with a crash (Mac 2012 Macos Mojave) #6278

Open Cartoen opened 3 years ago

Cartoen commented 3 years ago

Description of Issue - As of the play button being pressed within milliseconds Optifine with crash with no report and no window showing.

Steps to Reproduce

  1. Press play
  2. Game crashes

OptiFine Version

OptiFine HD U G9 1.17.1

Installation Method

Went to the Optifine website and downloaded,did the steps, ran it, did the steps. Download it in launcher then play ... Crash

Log Files/Crash Reports

No file was generated also I did just reinstall minecraft as It wasn't launching the launcher. So the file might have not been generated yet. + I did drag mod , texture packs , version and a few others into the new reinstall would this effect it?

Cartoen commented 3 years ago

Also this doesn't happen without optifine installed.

rbrajcich commented 3 years ago

On windows, but same instant crash issue I opened: https://github.com/sp614x/optifine/issues/6210

Froxcey commented 3 years ago

Are you using Forge mod loader or Optifine stand alone. I got the same issue with the mod version (stand alone/client works properly). MacBook Air with M1 16 Gig ram macOS 11.6. Tried several Optifine and Forge versions, and none fo them work. Other mods load properly with forge (specifically Xaero's mini map and world map) Edit: I uploaded log (but it seems pretty empty with no sign of warning or error) debug.log

HoodedDeath commented 3 years ago

Got the same problem here on Linux. Tried multiple versions of Forge mod loader, all result in an immediate crash with exit code 0. If I had to take a guess about the issue, my guess would be some obscure change in Java 16 that crashes Optifine, since it seems that 1.17 has to be run under Java 16, instead of previous versions which worked fine under Java 8. debug.log seems to have no info of crash.

debug.log

[04Oct2021 00:28:25.755] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, HoodedDeath3600, --version, 1.17.1-forge-37.0.78, --gameDir, /home/death/Minecraft/forge-1.17.1-test, --assetsDir, /home/death/.minecraft/assets, --assetIndex, 1.17, --uuid, 389c714b981c40058634b13783d4e923, --accessToken, ❄❄❄❄❄❄❄❄, --userType, msa, --versionType, release, --width, 1440, --height, 900, --launchTarget, forgeclient, --fml.forgeVersion, 37.0.78, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038]
[04Oct2021 00:28:25.759] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 16.0.1 by Microsoft
[04Oct2021 00:28:25.767] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness]
[04Oct2021 00:28:25.775] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp]
[04Oct2021 00:28:25.784] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,object_holder_definalize,runtime_enum_extender,capability_token_subclass,capability_inject_definalize,accesstransformer,runtimedistcleaner]
[04Oct2021 00:28:25.791] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services
[04Oct2021 00:28:25.799] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: java.util.stream.ReferencePipeline$3@274872f8
KaiAF commented 3 years ago

What OptiFine version are you all using? G9?

HoodedDeath commented 3 years ago

What OptiFine version are you all using? G9?

I've tried G9 and both the pre-release versions available before it

Cartoen commented 3 years ago

Sorry I've been away

Cartoen commented 3 years ago

I'm thinking it could be something in libraries (.minecraft) or something.

Froxcey commented 3 years ago

Optifine G6: I tested it with the following forge versions: 37.0.58 37.0.70 37.0.73 The game directly crash without showing the initialization screen and the log doesn't show any sign of error or warning. Edit: the log is uploaded above.

H1 pre 6 with Forge 37.0.73: Mod doesn't get detected and game launch without Optifine.

KaiAF commented 3 years ago

Try using the latest preview version, see if this helps. When you use the preview version, press extract and put the extracted version into the mods folder.

HoodedDeath commented 3 years ago

I'm probably being a bit stupid here, but I'm a bit confused. Should I try downloading U H1 pre6, extract the jar, and put those files into the mods folder?

KaiAF commented 3 years ago

Yes, just open the optifine installer and it says "install" and "extract", press extract and put that into the mods folder.

HoodedDeath commented 3 years ago

Okay, thank you. I honestly forgot that the jar file acted as an installer as well.

Happy to report that this method gets the mod working, at least with forge version 37.0.78. Optifine is not listed in the mods menu, but all optifine options show up in the video settings. I have not tested gameplay for longer than a few minutes, but it all seems good with that workaround.

KaiAF commented 3 years ago

cool

KaiAF commented 3 years ago

@Cartoen are you using forge? Can you send a debug.log file like the others?

Froxcey commented 3 years ago

Okay I tried Optifine H1 pre 1 with Forge 37.0.84. Minecraft launch without Optifine, but I got a log that probably have important debug information. For testing reason, I only run Optifine mod alone and temporarily moved other mods away. Briefly looking at the latest.log, it looks like it's having a problem loading the default resource pack? Therefore I tried to run with a resource pack on (I used Depixel because I think it covers every texture and is most likely to fix the problem). The same problem still happen (of course default resource pack still need to be loaded). Both log with resource pack (WithReourcepack.log) and without (latest.log) are attach below: WithReourcepack.log latest.log