Skip to content

JVM crash due to OpenGL call in async thread (EffectHolder.load) #79

Description

@GaryWilliam

Description:
When using Epicmoon mod with AAA Particles (aaa_particles), the game crashes with:
FATAL ERROR in native method: No context is current...
at org.lwjgl.opengl.GL11C.nglGetIntegerv
at mod.chloeprime.aaaparticles.client.render.RenderUtil.runPixelStoreCodeSafely
at mod.chloeprime.aaaparticles.api.client.EffectHolder.load
at com.Yujin.onegradefixer.epicmoonmod.particle.EM_Trail8.createAAAEmitter

This occurs in AsyncParticleTicker thread, indicating OpenGL is called from a non-render thread. Please add a configuration option to disable async loading of effects (e.g., asyncRendering=false) or force sync execution.

Mod versions:

  • aaa_particles: 2.2.3
  • epicmoonmod: 1.2.1
  • epicfight: 20.14.17
  • Minecraft: 1.20.1 Forge 47.4.20

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