Continuity

Continuity

9M Downloads

Crashes with Sodium/BetterNether

quiqueck opened this issue ยท 1 comments

commented

We are currently having an issue with a crash related to Continuity, Sodium and BetterNether (quiqueck/BetterNether#3).
I've done some simple testing (mainly disabling our custom emissive material and model loader code), but the error seems to persist. However, to move forward I would need a little help.

It seems that this static initializer is called before the fabric renderer is ready:

private static final ThreadLocal<MaterialFinder> MATERIAL_FINDER = ThreadLocal.withInitial(() -> RendererAccess.INSTANCE.getRenderer().materialFinder());

If BetterNether is causing this error, you may be able to track down the call that triggers the initialization in the debugger. But it may not be related to BetterNether at all, as the crash also goes away when removing Sodium.

The minimum ste of Mods required to reproduce the issue is:

  • bclib 2.0.1
  • betternether 7.0.1
  • continuity 2.0.0+1.19
  • sodium 0.4.2+build.16
commented

Duplicate of #107.