LambdAurora / LambDynamicLights

A dynamic lighting mod for Minecraft on Fabric Loader.
https://lambdaurora.dev/projects/lambdynamiclights/
Other
412 stars 98 forks source link

NullPointerException when respawning - potential incompatibility with Immersive Portals #39

Closed LemmaEOF closed 3 years ago

LemmaEOF commented 3 years ago

Minecraft: 1.16.4, Fabric Immersive Portals: 0.43 LambDynamicLights: 1.3.2+1.16.4

When respawning (reproduced when respawning from the nether to the overworld), the game may crash from a series of errors, starting with a NullPointerException from LambDynamicLights, then failing Validate.isTrue inside Immersive Portals code at least once per tick, then finally crashing from a NullPointerException through an Immersive Portals redirect.

crash log - errors start crash log - game fuly crashes

multimc pack

LambdAurora commented 3 years ago

This is caused because LambDynamicLights tries to rebuild a chunk that is not in the same world/unloaded which some mods really doesn't like.

It's already on the TODO list of things to fix.

LambdAurora commented 3 years ago

Fixed in 1.3.3.