Download

Run python script from Blutility's Execute Python Script

I’m adding a scripted action to Content Browser’s context menu. But it cannot find unreal module, like this

LogPython: Error: No module named ‘unreal’
LogPython: Error: Traceback (most recent call last):
LogPython: Error: File “<string>”, line 1, in <module>
LogPython: Error: ModuleNotFoundError: No module named ‘unreal’

Running the same script from Editor menu File | Execute Python Script works fine.