Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pollution of the Realms (adpother) cause crash on world creation #34

Open
KubiRemPL opened this issue May 25, 2021 · 7 comments
Open

Pollution of the Realms (adpother) cause crash on world creation #34

KubiRemPL opened this issue May 25, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@KubiRemPL
Copy link

Hi, so as sad in description adpother mod crashes when trying to create world.

Mods used:
fluidphysics-1.4.0+forge-1.16.4.jar
ScalableCatsForce-2.13.5-build-2-with-library.jar
AdPother-1.16.4-4.0.3.0-build.0116.jar
ForgeEndertech-1.16.4-7.1.0.0-build.0075.jar

Crashlog https://pastebin.com/tgh8T2Qd

@lhns
Copy link
Owner

lhns commented May 25, 2021

Do you also have optifine installed? If so you might be running into this issue:
#29

@KubiRemPL
Copy link
Author

Nope, tests were done only with those 4 mods

@lhns lhns added the bug Something isn't working label May 26, 2021
@cosmicdan
Copy link

Howdy,

Horray for open source! I may take a look at this for you, though I do have a lot of tasks for my Modpack I definitely want to have this (amazing work, thank you!) with said pollution mod, plus a bunch of others (Create water wheels, hydroelectric dams!) make this a must-have for my Modpack ideas.

Maybe this can be quick fixed by excluding adpother's fluid blocks from physics because they have their own basic implementation already? Though I imagine the mod design goal is to get the physics working with all fluids, not just liquids?

Thanks again for the mod! I'll try getting the source into a Dev Env. soon and see what I can do :)

@lhns
Copy link
Owner

lhns commented May 29, 2021

I just tried to reproduce this issue but for some reason couldn't.
I used 1.16.5 with forge 36.1.18 with the exact mods and versions you listed above.
Are you using the mojang launcher or something else with another java runtime?
In any case this issue is probably related to #29 and I would really like to fix this but there are some coremod bytecode injection conflicts involved which make this really hard to debug.

@cosmicdan Hi! Thanks for joining in! Sadly I think that excluding adpother's fluid blocks would not fix this since the bytecode is broken after coremod transformation and the broken code gets executed even if all fluids are disabled.

There is a workaround explained in #29 which disables one of adpother's bytecode transformations but that will break some block ticking stuff in adpother so I don't really recommend it.

@cosmicdan
Copy link

Yeah I can't reproduce either. AdPother + Fluid Physics both work fine together in my pack too.

@KubiRemPL
Copy link
Author

So yeah, you are right guys. Issue is in JVM itself (I am using GraalVM). On normal Hotspot it worked fine.

@lhns
Copy link
Owner

lhns commented May 30, 2021

Okay thank you for confirming! I will try to debug this but it might be a graal bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants