Unreal Engine Python Helper Scripts

Unreal Engine Python Helper Scripts

I recently made some python scripts that work with the Unreal Engine. I’ve been using them in my own projects to help find potential problems and possible optimisations. I thought I’d put them out for free so everyone can use them.
PythonHelperScripts01_SMWithNoCollision

The scripts work and have been tested in 4.25, 4.26, and 4.27 (as of 23/03/2022). Currently, there is functionality to help you find:

  • Static Meshes With No Collision
  • Static Meshes With No LODs
  • Static Meshes With X Or More Materials
  • Static Meshes With X Amount of UV Channels
  • Unused Project Assets
  • Project Redirectors
  • Skeletal Meshes With No LODS (4.26+ Only)
  • Skeletal Meshes Missing Physics Assets
  • Skeletal Meshes With X Or More Materials
  • Sound Cues Missing Attenuation Assets
  • Sound Cues Missing Sound Class Assets
  • Sound Cues Missing Concurrency Assets
  • Non-Power Of Two Textures
  • Textures With X Or More Size
  • Materials Using Translucency
  • Materials Using Two Sided
  • Materials Missing Phys Material Assets

If you want to see how the scripts work, check out my links below:

  • See how in my Youtube Video
  • Read how in my Blog Post
  • Download them directly from my GitHub (make sure you watch the Youtube vid above to see how to actually set them up to run)

I’ll be updating the scripts over time so give me a follow on Twitter or sub on YouTube if you want to find out when I do!

Hope you find them useful!

1 Like

Hey @JRow,

Thanks so much for sharing your scripts with us here on the Unreal Engine forums. I’m sure it will help a ton of people.
The blog post and youtube video seem super detailed as well so I’m stoked to see how many people use this as a tool :slight_smile:

1 Like

No problem, I got a lot of help/answers from these forums over the years so I wanted to give back!

1 Like

Just updated the helper scripts tool with 2 new optimisation searches. You can now search your entire project for:

  • Particles that have no LODs setup
  • Foliage assets that have no max draw distance setup
    PythonHelperScripts01_NewStuff_ParticleLOD_FoliageDrawDis

I also got a version of the python helper scripts up and running in UE5. So now when you download off github you will see a UE4 version and a UE5 version.
PythonHelperScripts01_WorkingInUE5_01