[SOLVED] Some objects being ignored by the lightmapper

The light’s position is 0x4x0, but I think it shouldn’t matter where the directional light is positioned because it’s just a directional light. Here is the project: https://playcanvas.com/project/657738/overview/test . I moved the box even more to the distance and its shadow is still visible but the shadow of the right box (which is very close to the camera) is cropped.

Lightmaps are generated at the start of the application, auto-rebake rebaks the light only in the editor.