shadows not casting after baking lights for InstancedStaticMeshs

I have a blueprint that generates InstancedStaticMeshs procedurally, cast shadows are
Screenshot 2023-03-17 213659
on but when i bake lights shadows are not baked, they are visible in movable lights.

instanced meshes do not exist in the editor. the instances are generated on the gpu when you render the level. there’s no way to bake lighting for those. they only work in fully dynamic lighting.

Thx for the help

Hey guys lemme answer just set all your meshes to static