Dynamic Surroundings

Dynamic Surroundings

51M Downloads

crashing with optifine

Opened this issue ยท 30 comments

commented

Mod Version:
DynamicSurroundings-1.12.2-3.4.8.5
Forge Version:
1.12.2600

Link to crash log (if applicable):
no crash log generated

Description:
just 2 mods running, DS and Optifine_1.12.2_HD_U_C8, also fails with the latest Optifine 1.12 preview

Seems to crash during PostInitialization. Sometimes Java crashes and Forge is stuck with PostInitialization Dynamic Surroundings on screen, other times quits back to MC Launcher

the DS 3.4.8.5 you gave me to test (for the colour water splashing) works fine, only this latest update fails

commented

Need the crash report. I fixed several optifine related issues before release.

commented

there isnt a crash report, sorry

commented

I used the same optifine version you have in my test and it works. I presume if you remove optifine it works?

commented

yes it works without optifine

Im literally only using latest forge 1.12 2600, DS 1.12.2-3.4.8.5 and OptiFine_1.12.2_HD_U_C8.

commented

Understand. In my case I just have 2 additional mods. What video card do you have?

commented

gtx 980 ti

commented

lol. same as mine. Well, this is going to be fun.

commented

forge

thats the best i can do, I did do a java update couple days ago,

commented

OK - that could be a potential difference. I am using MultiMC.

commented

What launcher are you using?

commented

the standard minecraft launcher

commented

Installed the older MC launcher; installed Forge 2600; installed only DS 3.4.8.5 (from CurseForge); and OptiFine 1.12.2_HD_U_C8. No errors running the game. Right now I am at a loss.

What Java version are you running?

commented

So the client starts, as soon as i hit F7 (my Light Level keybind) Minecraft crashes back to launcher screen

No crash report

commented

im using java 64 bit version 1.8.0_161-b12 its weird.

commented

Try this JAR: https://github.com/OreCruncher/DynamicSurroundings/releases/tag/v3.4.8.6T

EDIT: Forgot to mention. If the client comes up, start up a world and activate the light level HUD.

commented

OK - narrows in on the specific piece of code. The main question is why. Like everything modded it doesn't make sense at the moment.

EDIT: One other thing to test for me. Before hitting F7 go to the quality video settings. Change the mipmap levels to some other levels, and save. When back in the game hit F7.

commented

dynamic surrounds potential crash

Also Happens to me, Using forge 1594-1601. I would assume its the same reason.

commented

Yep. Optifine is doing something weird with one of the builtin classes. The irony is that it works on my system. I've been making blind changes and adding additonal logging in hopes of narrowing it down. I will have a test jar available in an hour or so if you are game to try it out.

@Andyghandi Which Forge versions are you using? Those appear to be related to 1.7.10...

commented

I was first using 1594 as jei needed it as a part of Its latest update. Then tested with 1600 and 1601 with twitch launcher and same thing hapened. I didnt know where to look because there's nothing in the log. But yeah this could be on optifine. However you are doing a really great job on fixing crashes, there is many and you are really doing a great and fast job fixing them. Loving this mod too much to not include it in my modpack.

commented

Yeah that causes the game to freeze. Showing Green, yellow, red light levels on the ground but full of symbols and not as it is supposed to be. I have Light level overlay reloaded installed which I'm using so in my case I'm good. Nothing showing up in crash log though when freezing.

commented

Anything in the client log?

commented

Only thing showing in client log is "Server running behind, skipping 1344 ticks" last 5 mins multiple times and thats not related to the crash.

commented

Reuploaded a v3.4.9.0 JAR for 1.12.2. Give it a shot. If the HUD display funny or it crashes I will need the client log. And yes, the problem is being caused by OptiFine. It's messing with the texture classes of Minecraft in ways that don't seem natural. :)

@Andyghandi It's still not clear to me which versions of Forge you are using. You mention 1600 - do you mean 2600? :)

commented

14.23.1.2600, My bad. I will try Your test jar combined in my pack and see how it goes.

commented

Test Jar works fine for me, Launcher boots up properly and I cant come across any bug after 20 min of gameplay. Awesome!

commented

Try turning on the light level HUD.

commented

Since Framebuffers are unreliable with OptiFine/shaders I put back some of the legacy code for light level rendering. Specifically, if OptiFine is installed or Framebuffers are disabled the rendering logic will revert to the classic drawstring method.

commented

Hey, I'm not sure if this is related:

Light Level Overlay Jank

Should I make a new issue?

MC: 1.12.2
Forge: 14.23.1.2600
DS: 1.12.2-3.4.8.5

Edit: My build doesn't freeze. Game continues to perform normally. Only the light overlay visuals are janky. Also using MultiMC 0.6.0

commented

No - I am pretty sure its the same issue.

commented

Pushed v3.4.9.0 with fixes.