MoreCulling

MoreCulling

6M Downloads

Custom culling shape handler triggers NPE after ViaFabricPlus protocol version change

EienMiku opened this issue · 1 comments

commented

Description

MoreCulling 1.3.0’s mixin for AbstractBlockState.customCullingShape runs before the model manager is fully initialized when ViaFabricPlus’s target version has been modified, causing a NullPointerException in combination with ViaFabricPlus 4.1.2.

Reproduction Steps

  1. Install Minecraft 1.21.5 + Fabric 0.16.14 + Fabric API 0.121.0 + Cloth Config API 18.0.145 + MoreCulling 1.3.0 + ViaFabricPlus 4.1.2.
  2. Launch the game once—initial startup completes fine.
  3. Change ViaFabricPlus’s target protocol version to 1.21 - 1.21.1.
  4. Exit the game.
  5. Relaunch the game—crash occurs in initShapeCache.

Log File

crash-2025-04-28_22.18.33-client.txt

commented

Dupe #369