How to resolve this error C2039: 'MipGenSettings': is not a member of 'UTexture2D' in plugin packaging?

maybe you can try this code.