Editor crash on remove widget PIE

Two widgets A and B.
Both created, added to viewport; B saved as variable inside A.
Widget A has code implemented: http://puu.sh/r2TyR.png ( A on destruct remove B from parent)
Stop Simulation. http://puu.sh/r2TGy.png cause engine crash.

Workaround - add check owning player is valid : http://puu.sh/r2TKk.png

Error:
[2016.09.07-11.27.11:331][847]LogCrashTracker:

[2016.09.07-11.27.11:331][847]LogWindows:Error: === Critical error: ===
[2016.09.07-11.27.11:331][847]LogWindows:Error: 
[2016.09.07-11.27.11:331][847]LogWindows:Error: Fatal error!
[2016.09.07-11.27.11:331][847]LogWindows:Error: 
[2016.09.07-11.27.11:331][847]LogWindows:Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff
[2016.09.07-11.27.11:331][847]LogWindows:Error: 
[2016.09.07-11.27.11:331][847]LogWindows:Error: UE4Editor-SlateCore.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor-SlateCore.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor-Engine.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor-Engine.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor-Engine.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor-UnrealEd.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor-UnrealEd.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor-UnrealEd.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor-UnrealEd.dll
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor.exe
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor.exe
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor.exe
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor.exe
[2016.09.07-11.27.11:332][847]LogWindows:Error: UE4Editor.exe
[2016.09.07-11.27.11:333][847]LogWindows:Error: kernel32.dll
[2016.09.07-11.27.11:333][847]LogWindows:Error: ntdll.dll
[2016.09.07-11.27.11:333][847]LogWindows:Error: ntdll.dll
[2016.09.07-11.27.11:333][847]LogWindows:Error: 
[2016.09.07-11.27.11:365][847]LogExit: Executing StaticShutdownAfterError
[2016.09.07-11.27.11:409][847]LogWindows: FPlatformMisc::RequestExit(1)
[2016.09.07-11.27.11:450][847]Log file closed, 09/07/16 14:27:11

Hello CriErr,

I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide any code and/or screen shots of any blueprints/widgets that may be involved (that may not have been given above)?

I did testing, here the notes

  1. Z order of B has to be higher than Z order of A

  2. PIE has to be closed via STOP (hotkey http://puu.sh/r2TGy.png or Button on panel) if you press x closing the window (if its PIE new window) doesnt cause crash.

Here the project which cause crash on stop.link text

Hello CriErr,

I was able to reproduce this issue with the project provided. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Please feel free to visit the provided link for future updates.

Link: Unreal Engine Issues and Bug Tracker (UE-35726)

Make it a great day

It’s bug and we’ll look into fixing the crash - but you should know that Destruct is called when the underlying slate widget is already being destroyed, so there’s no reason to remove it from the viewport or anywhere else. By the nature of destruct being called it has already been removed from all slate containers.

Hi there,

The idea is, i have Panel, on panel i have Buttons, buttons on mouse over message panel to create Tip widget which gets added to viewort. I want to just “remove from parent” panel so tip goes away too.

Regards.