Material stretches on stretched meshes

Any material stretches on being applied on this stretched wall…What is the method to correct it without altering the wall mesh?

Use the WorldAlignedTexture node to apply the texture without using the mesh UVs. Or just apply a box UV map to the mesh before importing in engine.

Would you mind sending a screenshot?