Skip to content

Caged Allay crashes game #552

Description

@Jangtella

Forge 1.20.1, ImmediatelyFast 1.5.4

When carrying a Supplementaries Cage containing a vanilla Allay in the inventory or hotbar, the game crashes with a java.util.NoSuchElementException in PoseStack.popPose() if ImmediatelyFast's hud_batching option is enabled.

With Oculus Shaders ON, the game crashes immediately on world load or when opening the inventory.
With Oculus Shaders OFF, the game might not crash instantly, but entities fail to load or render properly due to the desynced matrix stack.

Disabling hud_batching ("hud_batching": false in immediatelyfast.json) prevents the crash.
Nevertheless, when you press the Enter key when caged allay is in your hot bar, the game crashes.

It seems the 3D rendering of the captured Allay inside the Cage GUI item desynchronizes/corrupts the PoseStack under HUD Batching. FDLib's event listener then triggers the crash as it is the first to call popPose() on the already-empty stack.

Here's the crash report.
crash-2026-07-16_01.48.23-client.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions