sp614x / optifine

1.81k stars 418 forks source link

Crash whilst rendering overlay; using shaders with OF and IE #6121

Open Jack-0-Spades opened 3 years ago

Jack-0-Spades commented 3 years ago

When trying to load any shader minecraft crashes with the following error:

The game crashed whilst rendering overlay Error: net.minecraftforge.fml.ModLoadingException: Immersive Engineering (immersiveengineering) encountered an error during the done event phase Exit Code: -1

Loading Minecraft after the crash will result in text no longer being displayed and items not showing up in the inventory gui. I believe the issue is related to the following:

https://github.com/BluSunrize/ImmersiveEngineering/issues/4508 https://github.com/BluSunrize/ImmersiveEngineering/issues/4548.

However, both these issues were closed due to being listed as an Optifine issue.

Forge ver: 36.1.32 Optifine ver: I have test with G6, G7, and G8 results were the same

Update: the secondary issue of text not loading does not occur with every shader. In seus text and items still appear however they are black or sometimes dark blue depending on the lighting.

yuesha-yc commented 3 years ago

Same problem

Whitelisted1 commented 3 years ago

I would assume that it's due to the engineering mod that is installed changing something about the rendering and optifine not liking that

Jack-0-Spades commented 3 years ago

It's possible, however I disabled all the rendering options for immersive Engineering in the config. Also both on my server and in various places I have found online we have people who are able to load shaders with immersive engineering and OptiFine without problem while people running the same mod pack run into the overlay issue.

KaiAF commented 3 years ago

Can you send the full crash log

Mino-nimus commented 3 years ago

Hey guys, I had the same crash and no "fix" seemed to be working. I then stumbled accross the following crash-publication

https://githubmemory.com/repo/sp614x/optifine/issues/6311

where the guy said he fixed it. I tried to replicate his fix and still crashed (probably different Modpacks encounter different problems with IE - I'm currently playing OceanBlock 1.5). Not giving up that easily, I took his fix as a reference point and aggressively deactivated all rendering options in the "immersiveengineering-client.toml" config-file which I thought could cause the crash. The file can be found in the "config"-folder which is located in the same folder as the "mods" or "resourcepacks"-folder and you will have to open it with some sort of editor like Notepad++.

There is a description for every single thing you can deactivate and what it does directly in the file. Either way, I will give you a zipped copy of my .toml so you can see what I changed - some changes might not be necessary! Don't forget to save the file. After restarting the game, you should also be able to play your modpack with shaders. I would appreciate a reply if it works for you too.

Hope I could be of help 👍

immersiveengineering-client.zip

Mino-nimus commented 2 years ago

Update: Building some IE-things in-game will still break the graphics in a 50-block (or so) radius around it, but generally you'll be fine playing with shaders if you don't focus on that mod specifically.

https://user-images.githubusercontent.com/93382879/140275057-82d83692-cf30-4ac2-b0ef-1a4ab6b00675.MOV

image