[Crash]: Puzzles Lib Crash on Gathering Possibles Animal Spawns List
serioos opened this issue · 19 comments
Mod Loader (Required)
Forge
Minecraft Version(s) (Required)
1.20.1
Mod Version(s) (Required)
PuzzlesLib-v8.1.18-1.20.1-Forge
Other Mods Involved (Required)
Yes
Notes (Required)
I generated a world and it crashes just walking around. I was working fine until now. All I did was add Essential mod to be able to play with my friend and now that I made a new world, it crashes. It crashed twice now. Here are the logs:
Crash logs:
crash-2024-04-09_16.27.45-server.txt
crash-2024-04-09_16.31.10-server.txt
latest.log (Required)
https://github.com/Fuzss/puzzleslib/files/14918942/latest.log
I removed Respawning Animals mod and generated a new world. So far so good, no crash. I'll let you know if anything changes after playing a while longer.
Please test this custom version of Puzzles Lib along with Respawning Animals and submit the new crash report, it should include more details.
Thanks, that wasn't enough to find it unfortunately. Please try this version and submit both the log and crash report once again: https://cdn.discordapp.com/attachments/917550806922846299/1227648173003116544/PuzzlesLib-v8.1.19.889-1.20.1-Forge.jar?ex=66292b75&is=6616b675&hm=4cee077690a8a94e4a111f6105d3aff8c95b6225a84eb464a4720b8e043f6fa3&
Thanks, so this tells us the crash is happening when trying to spawn a mob in the savannah plateau biome, specifically the Friends&Foes mauler is causing issues (although this is unlikely to be related to Friends&Foes directly).
Unfortunately there isn't much more I can get from this.
So the next question would be can you reproduce the issue with just Respawning Animals + Friends&Foes (+dependencies)?
If not it's maybe caused by some optimization mod, a binary search (removing half of the mods until the offender is found) will be necessary.
Thanks for helping out with this, can't resolve it on my own unfortunately as I'm unable to reproduce the issue.
Now I only installed Respawning Animals and Friends&Foes mods, and tested them a bit. Went to Savanna Plateau and spawned mauler and flied around a bit. So far, there hasn't been a crash. I'll keep testing some more. I'll let you know if I crash.
@serioos Is there any update on this? As on my side (Friends&Foes) i have no idea what to do with this issue.
@Faboslav I guess we can just close this one for now. I do not know what to do about it either without Friends&Foes developer. They haven't visited yet. Sorry about bothering you, and thanks for the patience.
Edit: Oh sorry about that. I thought you were PuzzlesLib Developer.
This issue seems to not be possible to reproduce with just Friends&Foes and Respawning Animals, so I have to assume another mod in your setup is at fault.
It would be very helpful if you could start removing mods from your mod pack until the issue goes away to find the one responsible so I can work on a fix.
I also think this was caused by another unknown mod in my very long mod list. I cannot find which one it is though, because testing this and getting the error actually takes time and I have to fly around for quite a while until I get the crash which makes removing mods and testing really cumbersome.
And my mod list has changed a lot since then. I've removed a lot of mod, but it's still a big mod pack. I'm going to install respawning animals again and test it again now with the new mod pack.
Wow, this time I got the error instantly right after generating the world and spawning in.
Here's my modpack along with the save file for testing. I hope it helps you both:
If you don't get the crash immediately like me, the mob or thing that caused it might have despawned. You may need to hang around there for a bit?
Good news! I finally found the mod that is causing the crash when I add it to the combination of respawning animals, regions unexplored, terralith, puzzleslib, and friends and foes!
It's ModernFix of all mods! I didn't expect it at all, and thought that was a pretty safe mod! But when I add it, it gives the null exception error for the possible respawnable animals crash. And the crash consistently happens in the Baobab_savanna Biome from regions unxplored.
Here are the crash logs I got with only these mods on:
Thank you so much for investing so much time on finding the conflict! This helps a lot, will hopefully be able to fix this soon then.
The issue should be fixed. Please try this custom version of Puzzles Lib, to check that it no longer crashes for you.