Editor crashes when you add a interface to a widget, that contains a function which has the same name as one of the target widget variables.

Version: 4.17.2

Platform Windows 10 x64

Description:
If you add a BP interface to a BP widget, that contains a function which has the same name as one of the widget’s variables. Then the editor will crash once you click on compile, without Warning.

Repro Steps:

  • Create a blank project
  • Create widget with a variable called “Test”.
  • Create a blueprint interface with a function called “Test”.
  • Add the interface to the widget and click compile.

Partial crash output:

Fatal error:
[File:D:\Build++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp]
[Line: 2289] Objects have the same
fully qualified name but different
paths. New Object: Function
/Game/BP_Widget.SKEL_BP_Widget_C.Test
Existing Object: BoolProperty
/Game/BP_Widget.SKEL_BP_Widget_C:Test

UE4Editor_Core!FDebug::AssertFailed()
[d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor_CoreUObject!StaticAllocateObject()
[d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2284]

Hello delic,

Thank you for the crash report. I was able to reproduce this crash in 4.17.2 and 4.18 Preview and I have logged the crash report. If you would like to track the progress of the issue please follow this link: Unreal Engine Issues and Bug Tracker (UE-50809)

If there is anything else that I can help you with please let me know.

Best Regards,