
Launch Crash
huihiuhuai opened this issue · 1 comments
Your GTNH Discord Username
huihiuhuai
Mod Version
1.0.0-beta35
Bug Report
crash-2025-02-28_18.46.19-client.txt
Java Version
Java 8
Graphics Card Vendor
NVidia
Shaders
No
MCPF or other features disabled by default
No: Go ahead and create an issue
Mod List or GTNH Pack Version
modlist: Angelica,CarpenterBlocks (GTNH fork),GeckoLib,GTNHLib,Unimixins
reproduce: install the aforementioned mods and launch game
Final Checklist
- I have searched the issues and haven't found a similar issue.
- I have read the known incompatibilities and this is not related to one of those.
- I am running an officially released version. (Or, if I've compiled it myself I plan to fix the issue)
For reference, the geckolib in question is here: https://github.com/Goodbird-git/Geckolib-Unofficial-1.7.10
And I can reproduce the crash. Yes, it only happens with Angelica, but I doubt it is Angelicas fault.
Issue is this code:
Field zipField = null;
for (Field field : FileResourcePack.class.getDeclaredFields()) {
if (field.getType() == ZipFile.class) {
zipField = field;
break;
}
}
if (zipField != null) {
zipField.setAccessible(true);
try {
this.enumerateZipFile(filePack, folder, (ZipFile) zipField.get(filePack), predicate, locations);
} catch (IllegalAccessException e) {
GeckoLib.LOGGER.error(e);
}
}
The resource pack in question is, unsurprisingly
Carpenter's Blocks Cached Resources com.carpentersblocks.CarpentersBlocksCachedResources$DynamicFileResourcePack@5d3b2f32
It works in a development environment, making tracking down the issue pretty annoying. Adding Angelica seems to change some order, causing the issue. Quite frankly, I'm not interested in investigating any further, probably best if you take it to GeckoLib since it's their code that crashes.