Notify actor added with assetdata

Hey everyone!

I hope someone can help me because I am stuck and I am desperate.

I am creating a plugin in the editor and I want to have a function that gets called when an actor / asset is dropped in the scene. I want the FAssetData of the actor that is created as parameter for this function.

Tried the following:

  • OnLevelActorAdded but I can’t get the assetdata from the actor.
  • Make the UseActorFactory function in EditorEngine.h virtual to override it in my child class.

All methods for getting the assetdata of an actor is welcome!