# \[Bug\] UE4 Editor (origin/master) with Blueprints and Interface-BP: Forgetting return values

**URL:** <https://forums.unrealengine.com/t/bug-ue4-editor-origin-master-with-blueprints-and-interface-bp-forgetting-return-values/305838>\
**Category:** Blueprint\
**Tags:** unreal-engine, crash, bug-report, editor, Blueprint, question\
**Created:** [February 3, 2015, 11:20am UTC](https://forums.unrealengine.com/t/bug-ue4-editor-origin-master-with-blueprints-and-interface-bp-forgetting-return-values/305838 "2015-02-03T11:20:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PapricaSix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PapricaSix](https://forums.unrealengine.com/u/PapricaSix)\
**Post date:** [February 3, 2015, 11:20am UTC](https://forums.unrealengine.com/t/bug-ue4-editor-origin-master-with-blueprints-and-interface-bp-forgetting-return-values/305838/1 "2015-02-03T11:20:20Z")

</div>

I’am running into following bug, while using Blueprints and Blueprint Interfaces.

a) I have a BP Interface with one function, which returns a Vector array.

![28784-iface.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/5/995cb413d299f716a707b2d22b078f8c1e2360f8.png)

b) Then there is a BP ‘Base’ class, which implements this function and returns an empty array.

 ![28785-baseimpl.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/8/718494e0250f0ff61da0b14429538a8e38163f20.png)

c) final BP is derived from b) and implements/overrides also interface function, but returns a valid array.  
This is how it looks like before a restart:

 ![28801-workingimpl.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/9/5c97e0a8e7db7848e1191200e91b0ba761ab0228.png)

Everything works as expected until I restart editor. Than I get an ‘unresolved compilation problem’ while starting editor and when I press Play a warning message is displayed (_One or more blueprints has an unresolved compiler error, are you sure you want to Play in Editor?  
Building\_Store_).  
This is how it looks like after a editor restart:

 ![28787-bug.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/b/83b6ee0afe4ebddda44697a32c81b45dc1df279c.png)

When I press ‘Yes’, editor crashes: 0xC0000005…:

> UE4Editor-CoreUObject.dll!UObject::CallFunction(FFrame & Stack, void \* const Result, UFunction \* Function) Line 450 C++  
> UE4Editor-CoreUObject.dll!UObject::ProcessContextOpcode(FFrame & Stack, void \* const Result, bool bCanFailSilently) Line 1451 C++  
> UE4Editor-CoreUObject.dll!UObject::ProcessInternal(FFrame & Stack, void \* const Result) Line 602 C++  
> UE4Editor-CoreUObject.dll!UObject::CallFunction(FFrame & Stack, void \* const Result, UFunction \* Function) Line 516 C++  
> UE4Editor-CoreUObject.dll!UObject::ProcessInternal(FFrame & Stack, void \* const Result) Line 602 C++  
> UE4Editor-CoreUObject.dll!UObject::CallFunction(FFrame & Stack, void \* const Result, UFunction \* Function) Line 516 C++  
> UE4Editor-CoreUObject.dll!UObject::ProcessInternal(FFrame & Stack, void \* const Result) Line 602 C++  
> UE4Editor-CoreUObject.dll!UFunction::Invoke(UObject \* Obj, FFrame & Stack, void \* const Result) Line 3716 C++  
> UE4Editor-CoreUObject.dll!UObject::ProcessEvent(UFunction \* Function, void \* Parms) Line 924 C++  
> UE4Editor-Engine.dll!AActor::ProcessEvent(UFunction \* Function, void \* Parameters) Line 514 C++  
> UE4Editor-Engine.dll!AWorldSettings::NotifyBeginPlay() Line 126 C++  
> UE4Editor-Engine.dll!AGameMode::SetMatchState(FName NewState) Line 709 C++  
> UE4Editor-Engine.dll!AGameMode::StartPlay() Line 526 C++  
> UE4Editor-Engine.dll!UGameInstance::StartPIEGameInstance(ULocalPlayer \* LocalPlayer, bool bInSimulateInEditor, bool bAnyBlueprintErrors, bool bStartInSpectatorMode) Line 218 C++  
> UE4Editor-UnrealEd.dll!UEditorEngine::CreatePIEGameInstance(int PIEInstance, bool bInSimulateInEditor, bool bAnyBlueprintErrors, bool bStartInSpectatorMode, bool bRunAsDedicated, float PIEStartTime) Line 2854 C++  
> UE4Editor-UnrealEd.dll!UEditorEngine::PlayInEditor(UWorld \* InWorld, bool bInSimulateInEditor) Line 2209 C++  
> UE4Editor-UnrealEd.dll!UEditorEngine::StartQueuedPlayMapRequest() Line 972 C++  
> UE4Editor-UnrealEd.dll!UEditorEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 1239 C++  
> UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 348 C++  
> UE4Editor.exe!FEngineLoop::Tick() Line 2263 C++  
> UE4Editor.exe!GuardedMain(const wchar\_t \* CmdLine, HINSTANCE\_\_ \* hInInstance, HINSTANCE\_\_ \* hPrevInstance, int nCmdShow) Line 142 C++  
> UE4Editor.exe!WinMain(HINSTANCE\_\_ \* hInInstance, HINSTANCE\_\_ \* hPrevInstance, char \* \_\_formal, int nCmdShow) Line 191 C++  
> [External Code]

If I check overridden/implemented function of interface in BP c), I have noticed function signature is wrong. result of my function is empty (it does not expect a result anymore). If I delete implementation and reimplement it from scratch, it works until next editor restart.

I’am using latest code from origin/master.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [February 7, 2015, 10:49pm UTC](https://forums.unrealengine.com/t/bug-ue4-editor-origin-master-with-blueprints-and-interface-bp-forgetting-return-values/305838/2 "2015-02-07T22:49:07Z")

</div>

Hi PapricaSix,

Thanks for report! I was able to reproduce this in our internal build, and have entered a bug report for developers to look over (UE-9408). I did not get a crash when I proceeded to Play with BP in level, but I believe it is related so fixing this issue should resolve crash. I will let you know when I see an update on bug. Thanks!

---

<div class="post-metadata">

**Author:** ![PapricaSix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PapricaSix](https://forums.unrealengine.com/u/PapricaSix)\
**Post date:** [February 9, 2015, 8:33am UTC](https://forums.unrealengine.com/t/bug-ue4-editor-origin-master-with-blueprints-and-interface-bp-forgetting-return-values/305838/3 "2015-02-09T08:33:56Z")

</div>

Thanks for your answer, have a nice day! 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [March 9, 2015, 10:59pm UTC](https://forums.unrealengine.com/t/bug-ue4-editor-origin-master-with-blueprints-and-interface-bp-forgetting-return-values/305838/4 "2015-03-09T22:59:32Z")

</div>

Hey PapricaSix,

Just wanted to give you an update on this. It has been fixed internally, and fix should be integrated in 4.8 release. Thanks again for report!
