Crash when renaming assets via Blutility

Hello,

I’m trying to create a BatchRenamer via Blutility - something that I’ve created many times in the past year on different machines - and I’m getting a weird crash. Last time I wrote this in 4.18 it worked perfectly fine.

The script is quite straightfoward

However, as soon as I run it on a bunch of assets, the editor crashes right as it finishes renaming the 1st asset in the list (right up after “Cleaning up old assets”). In Debug Editor, I get a crash in FKismetDebugUtilities::OnScriptException where the ActiveObject is null for some reason. Doing some shallow debugging shows that that call gets executed over 20 times with the ActiveObject being my Blutility BP and at some point it just loses that ref and crashes.

Also, this functionality should really be native to the editor at this point.

Thanks,

I’m getting the same thing. Any workaround?

I ended up writing a tool in Slate/C++. Doesn’t look like Blutilities are high up on Epic’s list at the moment :frowning: