When an object is either marked as lit or as shadow_caster, it is added to the LightManager within the scene when added to the World. When the same object is removed from the World, it causes an infinite recursion error within the LightManager when Jax tries to remove it:
InternalError: too much recursion in http://localhost:3000/assets/jax/webgl/scene/light_manager.js?body=1 (line 30)
When an object is either marked as
lit
or asshadow_caster
, it is added to theLightManager
within the scene when added to theWorld
. When the same object is removed from theWorld
, it causes an infinite recursion error within theLightManager
when Jax tries to remove it: