#CC&A causes a weird crash: tried to access config before it loaded
1 messages · Page 1 of 1 (latest)
ive seen this error around, not been able to reproduce it though, seams to be rare
I've had it with all C&A versions past 1.4.3 in my modpack for months now but after updating create and other mods today it stopped working entirely :/
would you be ok to test it with the modpack that me and my friends play? I can zip it up in a few mins and send it here or in dms
maybe that could help you
if nothing works I'll have to remove the mod from our modpack but then most people won't be able to access their ae2 or rs2 storages to craft a generator from a different mod cuz we use the Alternators as the main source of FE and don't have any alternatives besides mid/lategame MI
(basically a limitation we mutually agreed on to not make FE generation free)
i have seen something like that with one of my mod
and just updating mdk to latest version in build.gradle fixed it
u can try that mrh0
@timber bluff sry for ping but I still wanna know about this ^^"
i will try that
try version 1.5.4
will do after work, thx
@timber bluff finally got the time to test it and now I get this crash instead
https://gnomebot.dev/paste/mclogs/BXY55Ht
I was putting toggether a modpack this morning and actually got this error now
Still not sure what is causing this error (i think it has something to do with mod loading order) but i have made a workaround fix. If this error occurs it should not halt the launch but it will ignore the config toggle for sounds, defauling to enabled
1.5.5 is up now
yeah could be
@timber bluff I didn't think I'll have to re-open this thread but whatever you did to suppress the crash now causes issues ^^"
this log line has been spammed in the console for the past 10 minutes and prevented the game from loading into the main menu ^^"
here's latest.log
latest.log: https://gnomebot.dev/paste/mclogs/pMU5obI
and debug.log (split in 2 parts)
debug.log head / tail (~40k lines)
I'm on the latest version of all mods in the pack
and this is a new modpack, just based on my last one
made from scratch entirely
weird, will have to investigate
sry for bothering, but did you have time so far?
if you want I can send you my modpack to test it out
also as it seems to be a sound related issue, maybe it's related to Directional Audio in the audio settings of vanilla mc?
if not, maybe plasmo voice or some sort of sound physics mod?
no i have not had time yet
I wouldn't know until MRH0 pings me
I think something doesn't like accessing the game's config before loading into a world. If that is the case, using LevelTickEvent (and checking if it is on the client world) could fix this issue
the issue is not before loading into a world but when launching the game
the game won't start because of the config thing and the sound-related thing
opening a world is only the step after getting into the game in the first place
I understood that, to be more clear, I think something doesn't like accessing the create config when you are not in a world
Well, that is why propose not ticking it when you are not in a world because you don't need to do that anyway. I know this is not genius at all and I might be totally wrong, but that is not the point. Sometimes the most obvious solution is the best one and it is not considered.
@timber bluff opinion on this one?
yeah ill try putting a simple
if (Minecraft.getInstance().level == null) return; and see if that does it
@vital fractal was just looking at your pr, it didnt work?
Well you just did the same thing in your last commit
well not exact but yeah
@rough briar try version 1.5.9
will try in a min
successfully got into main menu :D
now Imma try to join a world
seems like the update really fixed it :D
thx
btw I'm sorry that this bug has "haunted" you for almost half a year xd
oh wait no am I stupid
I can't tell if discord shows me 10/6 as american or european date
either way, the bug haunted this mod for long enough xd