- Create WidgetA and WidgetB classes
- Setup WidgetA this way
http://puu.sh/ra7PH/b5b74480ed.png
- Create instance of WidgetA and add it to viewport (from level bp for example)
- Play
- Quit and notice crash
I have also noticed that if ZOrder of WidgetB is 0 no crash appears
[2016.09.13-18.48.45:752][447]LogWindows:Error: === Critical error: ===
Fatal error!
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff
UE4Editor-SlateCore.dll!TIndirectArray<SOverlay::FOverlaySlot,FDefaultAllocator>::DestructAndFreeItems() [s:\epic games\4.12.5\engine\source\runtime\core\public\containers\array.h:3410]
UE4Editor-SlateCore.dll!SOverlay::ClearChildren() [s:\epic games\4.12.5\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:171]
UE4Editor-Engine.dll!UGameViewportClient::RemoveAllViewportWidgets() [s:\epic games\4.12.5\engine\source\runtime\engine\private\gameviewportclient.cpp:2005]
UE4Editor-Engine.dll!UGameViewportClient::DetachViewportClient() [s:\epic games\4.12.5\engine\source\runtime\engine\private\gameviewportclient.cpp:237]
UE4Editor-Engine.dll!UEngine::CleanupGameViewport() [s:\epic games\4.12.5\engine\source\runtime\engine\private\unrealengine.cpp:1775]
UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [s:\epic games\4.12.5\engine\source\editor\unrealed\private\editorengine.cpp:963]
UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [s:\epic games\4.12.5\engine\source\editor\unrealed\private\unrealedengine.cpp:368]
UE4Editor.exe!FEngineLoop::Tick() [s:\epic games\4.12.5\engine\source\runtime\launch\private\launchengineloop.cpp:2775]
UE4Editor.exe!GuardedMain() [s:\epic games\4.12.5\engine\source\runtime\launch\private\launch.cpp:148]
UE4Editor.exe!GuardedMainWrapper() [s:\epic games\4.12.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor.exe!WinMain() [s:\epic games\4.12.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
KERNEL32.DLL
ntdll.dll
ntdll.dll