Foliage Wind dont working in UE5

Hello! I created a wind swaying tree material and in 4.27 it works on all trees, but in ue5 the material only works correctly if the tree is not being mapped as foliage. What could be the reason? wind - YouTube