Describe the bug
The client crashes while rendering a block preview.
After investigating the crash with the AnvilCraft developers, they identified that ScalableLux does not inject into the no-argument constructor of LevelLightEngine.
As a result, fields expected by ScalableLux's lighting implementation remain uninitialized when that constructor path is used.
Later, when lighting information is queried, the client crashes due to the incomplete initialization state.
To Reproduce
Steps to reproduce the behavior:
- Install ScalableLux 0.2.0
- Install AnvilCraft 1.6.0 and AnvilLib 2.0.0
- Install JEI 29.6.2.38
- Viewing the crafting recipes for certain blocks (such as Oak Planks) via JEI causes the client to crash.
Expected behavior
All LevelLightEngine construction paths should initialize the fields required by ScalableLux.
Rendering code that queries lighting information should not encounter an uninitialized ScalableLux lighting state.
Screenshots
N/A
Runtime info (please complete the following information):
- OS: MacOS
- Minecraft version: 26.1.2
- Mod version: 0.2.0+neoforge.cd0897f
Crash reports / logs
crash-reports: https://mclo.gs/x74NRWb
latest.log: https://mclo.gs/m3sxVPN
Other mods
Just Enough Items (JEI)
AnvilLib
AnvilCraft
Checklist
Additional context
Removing ScalableLux completely resolves the issue.
The AnvilCraft developers traced the problem to a missing injection for the no-argument constructor of LevelLightEngine.
Issue in AnvilCraft: Anvil-Dev/AnvilCraft#3811
Describe the bug
The client crashes while rendering a block preview.
After investigating the crash with the AnvilCraft developers, they identified that ScalableLux does not inject into the no-argument constructor of
LevelLightEngine.As a result, fields expected by ScalableLux's lighting implementation remain uninitialized when that constructor path is used.
Later, when lighting information is queried, the client crashes due to the incomplete initialization state.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All
LevelLightEngineconstruction paths should initialize the fields required by ScalableLux.Rendering code that queries lighting information should not encounter an uninitialized ScalableLux lighting state.
Screenshots
N/A
Runtime info (please complete the following information):
Crash reports / logs
crash-reports: https://mclo.gs/x74NRWb
latest.log: https://mclo.gs/m3sxVPN
Other mods
Just Enough Items (JEI)
AnvilLib
AnvilCraft
Checklist
Additional context
Removing ScalableLux completely resolves the issue.
The AnvilCraft developers traced the problem to a missing injection for the no-argument constructor of
LevelLightEngine.Issue in AnvilCraft: Anvil-Dev/AnvilCraft#3811