AgriCraft

AgriCraft

30M Downloads

Game crashes when interacting with the seed analyzer

Mazereck opened this issue ยท 4 comments

commented

Quick description

When using pehkui mod and accessing the agricraft seed analyzer it causes the game to crash

Mods and versions used

  • Minecraft: 1.18.2
  • AgriCraft: 3.1.2
  • InfinityLib: 2.1.2
  • Pehkui: 3.3.2
  • origins forge: 1.4.1.1
  • bucolic orgins forge: 3.2
    (happens with just these mods installed but if you need the full mod list its in the crash report)

Steps to replicate the issue

  1. have the above mods installed
  2. place the seed analyzer down
  3. interact and crash

Your environment

  • Operating System: Windows 10
  • What kind of server: Multiplayer
  • Game Modes: Survival

Links to crash logs, stack traces, etc

https://paste.ee/p/qBwZL

commented

Report to pehkui

commented

Reported to pehkui dev closing this issue

commented

After some testing, turns out this is caused by InfinityLib's dynamic camera, specifically the way it's instantiated, using Unsafe and having to initialize fields that shouldn't be null, which unsurprisingly can't take into account fields added by a mod's mixins whose types are not in that list.

commented

Yip, but I can't do anything on my end to fix this, whereas a simple null check on pehkui would fix this.