#CC&A causes a weird crash: tried to access config before it loaded

1 messages · Page 1 of 1 (latest)

rough briar
#

CC&A 1.4.3 https://gnomebot.dev/paste/mclogs/udiH7ZP
CC&A 1.5.3https://gnomebot.dev/paste/mclogs/nysO8Kk

I don't know how the crash even happened or what the cause could be. All I want is to keep the mod as it is our main source of FE on our smp.

#

playing on Neo 21.1.209 and Minecraft 1.21.1

timber bluff
#

ive seen this error around, not been able to reproduce it though, seams to be rare

rough briar
#

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)

fast bolt
#

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

rough briar
timber bluff
#

i will try that

timber bluff
#

try version 1.5.4

rough briar
#

will do after work, thx

rough briar
timber bluff
#

I was putting toggether a modpack this morning and actually got this error now

timber bluff
#

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

fast bolt
#

its could be a mixin conflict

#

those things usually dont show proper error

timber bluff
#

yeah could be

rough briar
#

I'll try it out in a min

#

it fixed the crash, thx :D

rough briar
#

@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 ^^"

#

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

timber bluff
#

weird, will have to investigate

rough briar
#

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?

timber bluff
#

no i have not had time yet

obsidian sinew
#

@sage thunder hi is there a fix 🥺

#

@rough briar

#

pls inform me

rough briar
vital fractal
#

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

rough briar
#

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

vital fractal
#

I understood that, to be more clear, I think something doesn't like accessing the create config when you are not in a world

rough briar
#

well yea obviously but we knew that quite a while ago already

#

at least since june

vital fractal
#

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.

rough briar
timber bluff
#

yeah ill try putting a simple
if (Minecraft.getInstance().level == null) return; and see if that does it

timber bluff
#

@vital fractal was just looking at your pr, it didnt work?

vital fractal
#

Well you just did the same thing in your last commit

timber bluff
#

well not exact but yeah

timber bluff
#

@rough briar try version 1.5.9

rough briar
#

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