Skip to content

Crash when used with Embeddium/Oculus (Mixin conflict) #44

@MehmetAliTR07

Description

@MehmetAliTR07

Describe the bug
When launching the game with Chunk Animator installed, Minecraft crashes during the initialization phase due to a MixinApplyError. The error states that the method LevelRenderer::m_172993_ could not be injected because it was already modified by another mod.

To Reproduce

  1. Install Chunk Animator version 1.3.7 for Minecraft 1.20.1 (Forge)
  2. Install Embeddium and Oculus (used for performance and shaders)
  3. Launch the game
  4. Crash occurs during the client startup

Expected Behavior
The game should start with chunk animation enabled, without crashing, even when other rendering mods like Embeddium are installed.

Screenshots
Not applicable, as the game crashes before rendering.

Versions:

  • Minecraft Version: 1.20.1
  • Forge Version: 47.4.0
  • Chunk Animator Version: 1.3.7
  • Embeddium Version: 0.3.31+mc1.20.1
  • Oculus Version: 1.8.0

Additional context
This crash appears to be caused by a conflict in Mixin injection targets between Chunk Animator and Embeddium/Sodium/Oculus. It looks like WorldRendererMixin from Sodium (used internally by Embeddium) modifies the same method as Chunk Animator, causing an InvalidInjectionException. I understand this may not be fixable due to mod incompatibilities, but perhaps a graceful fallback could be implemented or a compatibility notice added to the project description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions