# Crash when adding interface with existing variable

**URL:** <https://forums.unrealengine.com/t/crash-when-adding-interface-with-existing-variable/406905>\
**Category:** Blueprint\
**Tags:** unreal-engine, crash, bug-report, editor, Blueprint, question\
**Created:** [October 13, 2017, 3:51am UTC](https://forums.unrealengine.com/t/crash-when-adding-interface-with-existing-variable/406905 "2017-10-13T03:51:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilberolive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wilberolive](https://forums.unrealengine.com/u/wilberolive)\
**Post date:** [October 13, 2017, 3:51am UTC](https://forums.unrealengine.com/t/crash-when-adding-interface-with-existing-variable/406905/1 "2017-10-13T03:51:41Z")

</div>

The editor will crash if you try adding an interface to an actor that already has a variable with the same name as one of the functions in the interface. See the attached sample project as an example. Add MyInterface to MyActor and then click Compile on the actor to crash the editor.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [October 13, 2017, 6:32pm UTC](https://forums.unrealengine.com/t/crash-when-adding-interface-with-existing-variable/406905/2 "2017-10-13T18:32:16Z")

</div>

Hello wilberolive,

Thank you for reporting this issue. It seems that this is a regression from 4.16 to 4.17. In 4.16, an error was returned for doing this rather than the editor crashing. I’ve entered a bug report for the issue which can be found here: [UE-51260](https://issues.unrealengine.com/issue/UE-51260)

Have a nice day!
