Topic category: Troubleshooting, bugs, and solutions
Every time I load or create a new world, the game always crashes because of a vanilla ticking entity. Upon checking the logs it says:
Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type with name "org/apache/logging/log4j/util/MessageSupplier"
It also says which entity is ticking (in the latest case it's a bat, but different each new world) but I don't know how to fix it or where to look to find the error. I'm unsure if this is related to the contents of my mod or if something got really screwed in the code. I've tried to update Java, update my drivers, check the code of each mod element; and regenerate, clean, and rebuild the gradle project.
Alas, nothing has fixed it and I would really appreciate any help.
The MC version is 1.16.5 and the Mcreator version is 2022.2
Below is the full crash report: