
Crash in the development enviroment "Cannot get config value before config is loaded"
CKenJa opened this issue ยท 12 comments
Describe the Bug
I updated build.gradle in the development environment to use Create0.5.1f and it crashes when I runClient.
Reproduction Steps
- Build a forge mod development environment on IntteliJIdea
- Add dependencies on Create and Flywheel
- Reload Gradle and genInttelliJRuns
- debug runClient
Expected Result
Minecraft launches without crashing.
Screenshots and Videos
crash-2023-11-03_18.57.19-client.txt
Crash Report or Log
No response
Operating System
Windows 11
What is your GPU?
Nvidia Geforce GTX 3060
Mod Version
0.6.10
Minecraft Version
1.19.2
Loader Version
43.2.4
Other Mods
Create, JEI, curios, Relocate(my developping mod)
Additional Context
No response
This error is caused by problems in other mods. In my case, I wasn't registering Create movement behaviour right. In case you have this error - try searching for problems in your mod or other mods
+1
Also happens on 1.20.1, with Forge 47.2.18, with Create, JEI, Farmer's Delight, Create: Deco, and Create: Alloyed (which is developing mod)
+1
Also happens on 1.20.1, with Forge 47.2.18, with Create, JEI, Farmer's Delight, Create: Deco, and Create: Alloyed (which is developing mod)
Did you find a solution? I'm having the same issue in an architectury project on the forge side (47.1.44) with Flywheel 0.6.9-5.
same issue, minecraft 1.20.1, forge 47.3.0, flywheel 0.6.10-7
All mavens use "implementation" will resolve it.
I have been troubled by this problem for several months now, it's so confusing that it seems to be caused by different problems and the source of the problem seems to be unknown. Hope someone could figure it out.
Basically this error is when some part of your mod throws some error, and if flywheel is not initialized, Minecraft will ignore your error but only throws flywheel's error.
Three solutions for this:
- place try - catch on every part of your code that may cause errors. And print the error manually instead of throw it to top handler.
- remove flywheel and other mods that will do some random logics when error occures.
- test in production envionment.
@zyxkad Yeah, after a while I figured out it was my config that wasn't registered properly.
It's still weird that it would print this as a flywheel issue into the logs without ever mentioning the real cause though.