BP Data validation

Trying to add some data validation rules to my project so my team adheres to the naming conventions. I found the data validation plugin and have been trying to get it working. It appears that no matter what I do, it does not behave the way I expect it to.

I have followed this twitter thread: https://twitter.com/MilkyEngineer/status/1187362686998237184

As well as this blog post: Data Validation: What you need to know

I have tried on blueprints, textures, and materials. None of them actually fail according to my rules. I have restarted the editor multiple times as well.

Is there anything additional that I should do?

It should fail because it does not start with “BP_”, but it does not. (Note - I’m only using Texture because the Twitter thread has evidence that it does work. Ideally, I use this on actor types, because those should be Blueprints)

So I got it working. I ended up deleting the data validator and then restarting the editor and then redoing it. Now I’m trying to figure out how to check for a BP class. I’ve been able to get it to work with other asset types, such as Textures, Anim sequences, Anim montages, etc…

Alright - so, it looks like you can also do an equality check to the asset’s class itself. There are more classes you can select in the dropdown versus just casting as the previous examples showed. And it does seem like it works the same.

1 Like