Pokecube-Development / Pokecube-Issues-and-Wiki

This is where all issues for the core pokecube mods should go, also this is where the main wiki should be maintained
MIT License
30 stars 24 forks source link

Crashes with 1.20.1 beta and other mods #1152

Open Vadewolf opened 11 months ago

Vadewolf commented 11 months ago

Issue Description:

Note: If this bug occurs in a modpack, please report this to the modpack author. Otherwise, delete this line and add your description here. pokecube keeps crashing my game

What happens:

that idk but every log ive seen from my side shows compile tasks failing to happen then crashes or render bugs happening then crash

What you expected to happen:

the mod to work right

Steps to reproduce:

1.idk 2.something fail or break 3.crash ...


Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.

latest.log pokecube.log thutcore.log hs_err_pid20456.log hs_err_pid22860.log hs_err_pid24852.log hs_err_pid28424.log hs_err_pid32960.log hs_err_pid33044.log hs_err_pid49284.log

as requested by WenXin from thutmose discord

Vadewolf commented 11 months ago

oh one other thing i forgot to say everytime it crashes my inventory gets duplicated 100% of the time

Thutmose commented 11 months ago

several of those crashes are nothing related to pokecube, one was from sodium...

Vadewolf commented 11 months ago

there might of been one that wasnt related to pokecube oopsy but the rest were either directly or indirectly caused by pokecube from complie errors or render crashes

Vadewolf commented 11 months ago

hs_err_pid19484.log 100% on pokecube not other mods

Thutmose commented 11 months ago

Forge discord is also flooded with identical looking reports (but blaming other mods), and they seem to claim it is related to CPU/GPU drivers or java versions

Thutmose commented 11 months ago

specifically they are linking this as support:

https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/#:~:text=How%20do%20I%20update%20my%20drivers%3F

Vadewolf commented 11 months ago

except all my drivers and video drivers are updated so and this issue only happens when i add in pokecube js

WenXin20 commented 11 months ago

hs_err_pid19484.log 100% on pokecube not other mods

The log you sent says you are still using java 17.0.8, which has issues

Vadewolf commented 11 months ago

then CF breaks things very badly cause both u and thutmose know full well i changed that to 17.0.3 b4

Vadewolf commented 11 months ago

image

in fact according to CF this is wat im using not 17.0.8

Vadewolf commented 11 months ago

just had an actual mod crash this time instead of the memory crash tho b4 i did i noticed the pokemon were legit breeding so fast that within 5 minutes i had atleast 4 ratataa eggs from wild rattaa crash-2023-10-17_09.16.32-server.txt

Thutmose commented 11 months ago

that crash I can look into, though note, it still loaded 17.0.8, as that is what is in your crash report, check what it has in the actual minecraft launcher that curseforge brings up?

Vadewolf commented 11 months ago

the actual launcher itself is set to use wat ever default java MC loads with and idk how to change that

WenXin20 commented 11 months ago

image Go to installations, then edit, then more options, and then change your java version

Vadewolf commented 11 months ago

did that and now my world i used as a backup wont even load

WenXin20 commented 11 months ago

then send the latest.log again...

Vadewolf commented 11 months ago

latest.log

as requested tho i removed pokecube and my main save loaded fine

WenXin20 commented 11 months ago

if pokecube was removed the log isn't going to help. There's no errors or crashes in that... And that log still says 17.0.8 is being used

Vadewolf commented 11 months ago

ok i legit dont know how to fix that cause i changed it to 17.0.3 o image n both the MC launcher and CF app

ok nvm seems the minecraft launcher resets back to default so

Vadewolf commented 11 months ago

ok so just found out there is no way to force change the java version in the MC launcher cause once u change it if u close out of it then it 100% resets back to default even with clicking the save button

Vadewolf commented 11 months ago

hs_err_pid12148.log another memory crash and its gonna say im on 17.0.8 but ive tried to change to 17.0.3 and it resets so

also i will say this latest version lasted the longest b4 crashing so yea most of the pokecube bugs did get fixed but not all of them causing the memory error

Thutmose commented 10 months ago

try using these arguments for JVM: -Xmx4G -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

Thutmose commented 10 months ago

Further testing seems to strongly indicate that this is fixed if you change to java 17.0.3 from 17.0.8

Vadewolf commented 10 months ago

ive tried to switch to 17.0.3 in the MC launcher it wont keep and resets itself so unless u have any idea how that cant work which sucks but i will try the jvm args