# Changing parent class which implements the same BP\_Interface creates ghost functions !

**URL:** <https://forums.unrealengine.com/t/changing-parent-class-which-implements-the-same-bp_interface-creates-ghost-functions/326110>\
**Category:** UI\
**Tags:** interface, unreal-engine, bug-report, functions, question, Blueprint\
**Created:** [July 22, 2015, 6:27am UTC](https://forums.unrealengine.com/t/changing-parent-class-which-implements-the-same-bp_interface-creates-ghost-functions/326110 "2015-07-22T06:27:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohsen.Mousavi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mohsen.Mousavi](https://forums.unrealengine.com/u/Mohsen.Mousavi)\
**Post date:** [July 22, 2015, 6:27am UTC](https://forums.unrealengine.com/t/changing-parent-class-which-implements-the-same-bp_interface-creates-ghost-functions/326110/1 "2015-07-22T06:27:22Z")

</div>

Using 4.8.2

If you have a class “A” which is implementing a BP\_interface and you change its parent to be class “B” which is also implementing the same BP\_interface and after that you reset the class “A” parent to be the default “Actor” class. All the inherited functions remains in the blueprint and you can’t delete them. It does not even allow you to add the same BP\_Interface to the BP “A” and does not print any error either !  
If you duplicate the function, you cant get rid of the duplicate which has a different name either !

Seems like a bug ! Any suggestion ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [July 22, 2015, 3:29pm UTC](https://forums.unrealengine.com/t/changing-parent-class-which-implements-the-same-bp_interface-creates-ghost-functions/326110/2 "2015-07-22T15:29:20Z")

</div>

Hi ,

I haven’t been able to reproduce this error on my end. Can you reproduce this in a clean, blank project with no additional content? What specific steps are you taking to recreate this error?

---

<div class="post-metadata">

**Author:** ![Mohsen.Mousavi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mohsen.Mousavi](https://forums.unrealengine.com/u/Mohsen.Mousavi)\
**Post date:** [July 23, 2015, 5:22am UTC](https://forums.unrealengine.com/t/changing-parent-class-which-implements-the-same-bp_interface-creates-ghost-functions/326110/3 "2015-07-23T05:22:20Z")

</div>

Sure thing !

Create blueprint interface “ **BPI\_FN** ” with any function inside.  
In this example I have 1 function called “ **returnText** ”

Create blueprint “ **BP\_A** ” of “Actor” class.  
in “ **BP\_A** ” add “ **BPI\_FN** ” as an interface

Create blueprint “ **BP\_MASTER** ” of “Actor” class.  
in “ **BP\_Master** ” add “ **BPI\_FN** ” as an interface

So far, all good.

in “ **BP\_A** ”, in class settings, change the parent class from “ **Actor** ” to “ **BP\_MASTER** ”  
A window pops up, click “ **reparent** ”

At this point “ **BP\_A** ” inherits the interface from “ **BP\_MASTER** ”  
Function “ **returnText** ” is still in the list of the functions of “ **BP\_A** ” and you cant delete it any more !

Creating a third BP “ **BP\_MASTER\_Child** ” as the child class of “ **BP\_MASTER** ” by right clicking on “ **BP\_MASTER** ” and choosing “_Create child blueprint class_”

“ **BP\_MASTER\_child** ” inherits the “ **returnText** ” function and as expected it does not lists it its function lists

Now, in “ **BP\_A** ” reparent the class from “ **BP\_MASTER** ” to default “ **Actor** ”

You still wont be able to delete the “ **returnText** ” from “ **BP\_A** ”

Try adding the “ **BPI\_FN** ” as an interface to the “ **BP\_A** ” again. you wont be able to do so !

link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [July 23, 2015, 2:28pm UTC](https://forums.unrealengine.com/t/changing-parent-class-which-implements-the-same-bp_interface-creates-ghost-functions/326110/4 "2015-07-23T14:28:01Z")

</div>

Hi Worlofpolygons,

I was able to reproduce this and have entered a bug report, UE-19062, to be assessed by the development staff.
