Problem with light/shader/vertex color

Hello,
I encounter a strange problem, I am no longer able to have moving lights in my scene, it generates a error message and it blocks the animation of the explosion. My projectiles used to have a light inside I add to remove it because the material became invisible… here is the error :

Vertex attribute [vertex_normal] at location 1 required by the shader is not present in the currently assigned vertex buffers, while rendering [Pass:RenderPassForward RT:WebglFramebuffer | Camera: Camera, Layer: World(OPAQUE) | Node: explosionTemplate, Material: Default Material]

here is the project
https://playcanvas.com/project/1331541/overview/jeu-des-relatifs-216

tks in advance for the help

It seems you have a mesh on the explosionTemplate entity which does not have normals. Normals are required for lighting to work.

1 Like

Ok thks I ll work on that…