-
Notifications
You must be signed in to change notification settings - Fork 3
Crash when used with Embeddium/Oculus (Mixin conflict) #44
Description
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
- Install Chunk Animator version 1.3.7 for Minecraft 1.20.1 (Forge)
- Install Embeddium and Oculus (used for performance and shaders)
- Launch the game
- 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.