Can I hook a Save Level Event on UE?

I wanna make a external data for each level, but at this point. I have to export it manually.
Is there any way to hook a save level event from Unreal Engine so I can make it automatically?

I’ve found a action set which named FLevelEditorCommands::Save(~~~) seriese.
But It’s linked on the FLevelEditorActionCallbacks::Save which is actually save the level.

I don’t know is it ok or possible to make the action redirected or injecting some of my custom code.
Any idea?

1 Like

Hi, Sorry for upping an old topic but have you found any solution for this?

I think I stumbled upon the feature I was looking for by chance. It seems like using the FOnPostSaveWorld or FOnPreSaveWorld delegate events included in FEditorDelegates might do the trick. I haven’t actually used it yet; I found it while searching for something else, but I remembered asking this question, so I came back to answer it.