Hello! I write plugin for editor which read some xml file and create a lot of actors based on file content.
Actor names are used to reference created objects and check if actor already exist in the level, so after spawning actor I rename it using
Actor->Rename(Desc->Name);
Actor->SetActorLabel(Desc->Name);
Problem is: if I select all created actors in World Outliner, delete them, save level and then try to run my plugi again it will crash complaining that renaming an object on top of an existing object is not allowed, which is weird because objects are already deleted.