Question about editing the mesh.

Hello. I ran into a problem while studying Unreal Engine 4: after adding a new material to a part of the mesh of the model, light from any sources passes through the model. Does anyone know how to fix this problem?
Engine version 4.25.3.
Datasmith Importer version 1.0 beta
For a better understanding of the issue, I am attaching screenshots.