Rrocedural Foliage Volume doesen't cast shadows in compile.

So, have an issue with procedural foliage volume. All works well in viewport, in PIE mode, in standalone game and simulation. But after packaging project for windows I have a problem with shadows. It’s a real-time project, so I need a good quality for it. When I use command r.RayTracing.ForceAllRayTracingEffects 0 It makes some shadows, but still not what i actually need. So how can I fix this issue with procedural foliage and raytracing?