This 2 part series covers the process procedurally enabling Nanite on all valid static meshes present in a level using the Unreal Python API. As of 5.1, Nanite is only available for use with materials with specific blend modes. This code gathers all static mesh actors in a level, evaluates blend modes on all assigned materials, and enables Nanite on valid static meshes.
https://dev.epicgames.com/community/learning/tutorials/4x7v/unreal-engine-enable-nanite-with-python
1 Like