UMG crashes the editor erratically

I have a C+±based UMG widget which I use for a branching dialogue system. It works really well so far, however, I have some odd crashing issues with it.

Sometimes, when either adding the widget to the viewport, pressing a button or removing the widget, the editor will crash and display this callstack:

MachineId:9B0D091F4FCB22D34DC4999153C14F65
EpicAccountId:8d0bad8406484c8a94dc109d539d132a

Unknown exception - code 00000001 (first/second chance not available)

Assertion failed: IsValidIndex(Index) && ChunkIndex < NumChunks && Index < MaxTotalElements [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.6\Engine\Source\Runtime\Core\Public\UObject\NameTypes.h] [Line: 310] 

KERNELBASE + 37901 bytes
UE4Editor_Core + 3092349 bytes
UE4Editor_Core + 1597688 bytes
UE4Editor_Core + 1479058 bytes
UE4Editor_Core + 189262 bytes
UE4Editor_Core + 3007605 bytes
UE4Editor_Core + 3007552 bytes
UE4Editor_CoreUObject + 495975 bytes
UE4Editor_CoreUObject + 1418058 bytes
UE4Editor_CoreUObject + 1471486 bytes
UE4Editor_CoreUObject + 1477214 bytes
UE4Editor_CoreUObject + 1350042 bytes
UE4Editor_CoreUObject + 1621364 bytes
UE4Editor_CoreUObject + 1477214 bytes
UE4Editor_CoreUObject + 1350042 bytes
UE4Editor_CoreUObject + 1621364 bytes
UE4Editor_CoreUObject + 1477214 bytes
UE4Editor_CoreUObject + 563956 bytes
UE4Editor_CoreUObject + 1475014 bytes
UE4Editor_UMG + 141702 bytes
UE4Editor_UMG + 883535 bytes
UE4Editor_UMG + 53187 bytes
UE4Editor_UMG + 60825 bytes
UE4Editor_UMG + 541413 bytes
UE4Editor_Slate + 2116506 bytes
UE4Editor_Slate + 2296435 bytes
UE4Editor_Slate + 432060 bytes
UE4Editor_Slate + 160583 bytes
UE4Editor_Slate + 832224 bytes
UE4Editor_Slate + 770598 bytes
UE4Editor_Core + 2484713 bytes
UE4Editor_Core + 2400763 bytes
UE4Editor_Core + 2489275 bytes
UE4Editor_Core + 2387186 bytes
user32 + 105425 bytes
user32 + 104666 bytes
UE4Editor_Core + 2490486 bytes
UE4Editor!FEngineLoop::Tick() + 3434 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:2193]
UE4Editor!GuardedMain() + 479 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:131]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

What perplexes me is that I don’t have a D:\ drive - or at least not one with a folder structure even remotely similar to what is displayed. I suspected that my TArrays were the culprit, but I do bordline zealous index checking on those.

I can go hours without this happening, and then disaster will strike.

Hello Jargon,

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 in a clean project?
  2. If so, can you provide a detailed list of steps to reproduce this issue?
  3. If not, could you supply us with a project that reproduces this issue (or a simplified version)?
  4. Are you receiving any error messages?
  5. If so, could you provide them?

Hi Rudy,

Since this widget is depending on 8 or so classes in my project, it is very difficult to move its functionality over to another project, but I will try to reproduce it.

I receive no other error messages other than the one posted above.

Hello Jargon,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.