Hello, I have an editor related question. I have my own asset type in content browser (UObject derived). I drag it from content browser into a viewport, this creates an actor (AActor derived) and corresponding component inside that actor.
The issue is the following: it creates in fact two actors. First actor, is the preview actor and exists (as far as I can tell) between the moments of when I pick the asset in content browser and drop it into the viewport. At that point, this preview actor is destroyed and a new proper actor is created and added into my scene.
My question is, is there a way to tell that an actor is a preview actor? My actors require some heavy loading/cooking done and I would rather not do it if instance is only temporary.
Thank you.